706707708709710711712713714715716
protected void fireResizeEvent(ResizeEvent event) { for (int i = 0; i < resizeHandlers.size(); i++) { ResizeHandler handler = resizeHandlers.get(i); handler.onResize(event); } } /** *
135136137138139140141142143144145
* the glassResizer. */ public void adjustGlassSize() { if (isGlassEnabled()) { ResizeHandler handler = getGlassResizer(); if (handler != null) handler.onResize(null); } } /** * Bypass "private" on glassResizer
133134135136137138139140141142143
} }; Elements.getBody().getStyle().setPosition("absolue"); Window.addResizeHandler(handler); handler.onResize(null); // Request module configs context.getFrontendApi().GWT_SETTINGS.request( new ApiCallback<GwtSettings>() { @Override
139140141142143144145146147148149
final RequiresResize requiresResize = (RequiresResize) widget; Scheduler.get().scheduleDeferred( new ScheduledCommand() { @Override public void execute() { requiresResize.onResize(); } } ); } }