本文整理了Java中com.ait.lienzo.client.core.shape.Rectangle.addNodeMouseExitHandler
方法的一些代码示例,展示了Rectangle.addNodeMouseExitHandler
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Rectangle.addNodeMouseExitHandler
方法的具体详情如下:
包路径:com.ait.lienzo.client.core.shape.Rectangle
类名称:Rectangle
方法名:addNodeMouseExitHandler
暂无
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-charts
private void animate(final BarChartLabel label, final String text, final String cutText, final double originalRotation) {
final Rectangle labelContainer = label.getLabelContainer();
labelContainer.addNodeMouseEnterHandler(new NodeMouseEnterHandler() {
@Override
public void onNodeMouseEnter(NodeMouseEnterEvent event) {
GWT.log("label mouse enter at " + label.getLabel().getText());
highlight(label, text, cutText, originalRotation);
}
});
labelContainer.addNodeMouseExitHandler(new NodeMouseExitHandler() {
@Override
public void onNodeMouseExit(NodeMouseExitEvent event) {
GWT.log("label mouse exit at " + label.getLabel().getText());
unhighlight(label, text, cutText, originalRotation);
}
});
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-charts
barObject.addNodeMouseExitHandler(new NodeMouseExitHandler() {
@Override
public void onNodeMouseExit(NodeMouseExitEvent event) {
代码示例来源:origin: com.ahome-it/lienzo-charts
bar.addNodeMouseExitHandler(new NodeMouseExitHandler()
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-charts
barObject.addNodeMouseExitHandler(new NodeMouseExitHandler() {
@Override
public void onNodeMouseExit(NodeMouseExitEvent event) {
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-lienzo-extensions
public IPrimitive<?> build(final IPrimitive<?> item,
final double width,
final double height) {
decorator = createRectangle(width,
height);
this.add(decorator);
this.add(item);
decorator.setX(item.getX() - (padding / 4));
decorator.setY(item.getY() - (padding / 4));
decorator.addNodeMouseEnterHandler(nodeMouseEnterEvent -> show(nodeMouseEnterEvent.getMouseEvent().getClientX(),
nodeMouseEnterEvent.getMouseEvent().getClientY()));
decorator.addNodeMouseExitHandler(nodeMouseExitEvent -> hide());
decorator.addNodeMouseMoveHandler(nodeMouseMoveEvent -> timer.cancel());
item.setDraggable(false);
decorator.setDraggable(false).moveToTop();
return this;
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-charts
resizeRectangleButton.addNodeMouseExitHandler(new NodeMouseExitHandler() {
@Override
public void onNodeMouseExit(NodeMouseExitEvent event) {
代码示例来源:origin: com.ahome-it/lienzo-charts
resizeRectangleButton.addNodeMouseExitHandler(new NodeMouseExitHandler()
内容来源于网络,如有侵权,请联系作者删除!