@Override protected void onComplete() { if (!showing) { maybeShowGlass(); if (!isUnloading) { RootPanel.get().remove(curPanel); } } impl.setClip(curPanel.getElement(), "rect(auto, auto, auto, auto)"); curPanel.getElement().getStyle().setProperty("overflow", "visible"); }
private void onInstantaneousRun() { maybeShowGlass(); if (showing) { // Set the position attribute, and then attach to the DOM. Otherwise, // the PopupPanel will appear to 'jump' from its static/relative // position to its absolute position (issue #1231). curPanel.getElement().getStyle().setProperty("position", "absolute"); if (curPanel.topPosition != -1) { curPanel.setPopupPosition(curPanel.leftPosition, curPanel.topPosition); } RootPanel.get().add(curPanel); } else { if (!isUnloading) { RootPanel.get().remove(curPanel); } } curPanel.getElement().getStyle().setProperty("overflow", "visible"); } }
/** * Called to remove the dialog from the root panel. */ public void destroy() { rootPanel.remove(this); }
@Override public boolean execute() { RootPanel.get().remove(ModalBackdrop.this); return false; } }, 100);
@Override public void execute(JQueryWrapper query) { RootPanel.get().remove(preloader); } });
@Override public final void onError(final ErrorEvent event) { RootPanel.get().remove(image); onImageElementError("Image " + url + " failed to load"); } });
@Override public void onFailure() { RootPanel.get().remove(image); onImageElementError("Image " + url + " failed to load"); } });
public void onWindowClosing(Window.ClosingEvent event) { if (callbackTo != null) callbackTo.callback("WindowClosed", null); RootPanel.get().remove(drapePanel); } });
@Override public void onError(ErrorEvent event) { RootPanel.get().remove(m_image); ImageLoader.this.onError("Image " + url + " failed to load"); } });
@Override public boolean execute() { InputDatePicker.this.setVisible(false); RootPanel.get().remove(InputDatePicker.this); return false; } }, 200);
private void createList(boolean remove) { RootPanel.get().add(list); initialized = true; if (remove) { RootPanel.get().remove(list); } }
public void hide() { final Widget w = panel.getWidget(); if ( w != null ) { panel.remove( w ); } final RootPanel root = RootPanel.get(); // Not sure if this will ever happen if ( root != null ) { root.remove( this ); } alreadyShowing = false; }
@Override public void hide() { super.hide(); if (isAttached()) { RootPanel.get().remove(this); } }
public void releaseDragProxy(int x,int y){ if (hasMouseDown){ if (ghostProxy!=null){ ghostProxy.fireEvent(new DragStopEvent(GlobalDragData.dragStartInitialX, GlobalDragData.dragStartInitialY)); hasDraggableProxy.getUIPanel().getDDManager().releasingDragElement(ghostProxy, x, y); RootPanel.get().remove(ghostProxy); RootPanel.get().remove(dropIndicator); ghostProxy = null; } hasMouseDown = false; } }
protected void afterHide() { RootPanel.get().remove(this); hidden = true; hideShadow(); fireEvent(Events.Hide, new ComponentEvent(this)); }
@Override public void onLoad(LoadEvent event) { RootPanel.get().remove(m_image); ImageLoader.this.onLoad(ImageElement.as(m_image.getElement())); } });
@Override public void hide() { if ( isAttached() ) { RootPanel.get().remove( this ); rowContextMenuDropdown.getStyle().setDisplay( Style.Display.NONE ); } }
@Override protected void onComplete() { if (!showing) { maybeShowGlass(); if (!isUnloading) { RootPanel.get().remove(curPanel); } } impl.setClip(curPanel.getElement(), "rect(auto, auto, auto, auto)"); curPanel.getElement().getStyle().setProperty("overflow", "visible"); }