示例#1
0
 @Override
 public void onMouseMove(MouseMoveEvent event) {
   parent.setWidgetTopHeight(widget, event.getClientY() - offsetY, Unit.PX, height, Unit.PX);
   parent.setWidgetLeftWidth(widget, event.getClientX() - offsetX, Unit.PX, width, Unit.PX);
   parent.forceLayout();
   if (mouseMoveHandler != null) {
     mouseMoveHandler.onMouseMove(event);
   }
 }
示例#2
0
 @Override
 public void forceLayout() {
   GWT.log("FORCE LAYOUT");
   super.forceLayout();
 }