Esempio n. 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);
   }
 }
Esempio n. 2
0
 @Override
 public void forceLayout() {
   GWT.log("FORCE LAYOUT");
   super.forceLayout();
 }