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