public class DefaultReconnectDialog extends VOverlay implements ReconnectDialog
Overlay.PositionAndSize, Overlay.ResizeAnimationcom.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback| Modifier and Type | Field and Description |
|---|---|
com.google.gwt.user.client.ui.Label |
label |
ADDITIONAL_CLASSNAME_ANIMATE_IN, ADDITIONAL_CLASSNAME_ANIMATE_OUT, CLASSNAME_CONTAINER, CLASSNAME_SHADOW, Z_INDEX| Constructor and Description |
|---|
DefaultReconnectDialog() |
| Modifier and Type | Method and Description |
|---|---|
void |
preload(ApplicationConnection connection)
Called once after initialization to allow the reconnect dialog to preload
required resources, which might not be available when the server
connection is gone
|
void |
setPopupPosition(int left,
int top) |
void |
setReconnecting(boolean reconnecting)
Sets the reconnecting state, which is true if we are trying to
re-establish a connection with the server.
|
void |
setText(String text)
Sets the main text shown in the dialog
|
void |
show(ApplicationConnection connection)
Shows the dialog to the user
|
getApplicationConnection, getOverlayContainer, getOverlayContainer, setOverlayContainerLabelcenter, getOwner, hide, hide, hide, isFitInWindow, isShadowEnabled, isShimElementEnabled, isSinkShadowEvents, needsShimElement, onAttach, onClose, onDetach, positionOrSizeUpdated, setFitInWindow, setHeight, setOwner, setShadowEnabled, setShadowStyle, setSinkShadowEvents, setVisible, setWidth, setZIndex, show, sinkEvents, updateShadowSizeAndPosition, useShadowDivaddAutoHidePartner, addCloseHandler, addPopupListener, getAnimationType, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onPreviewNativeEvent, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setModal, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setWidget, showRelativeToadd, getWidget, iterator, remove, setWidgetadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onLoad, removeFromParent, setLayoutData, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithide, isModal, isVisible, setModalforEach, spliteratorpublic void setText(String text)
ReconnectDialogsetText in interface ReconnectDialogtext - the text to showpublic void setReconnecting(boolean reconnecting)
ReconnectDialogsetReconnecting in interface ReconnectDialogreconnecting - true if we are trying to re-establish the server connection,
false if we have given uppublic void show(ApplicationConnection connection)
ReconnectDialogshow in interface ReconnectDialogconnection - the application connection this is related topublic void setPopupPosition(int left,
int top)
setPopupPosition in class Overlaypublic void preload(ApplicationConnection connection)
ReconnectDialogpreload in interface ReconnectDialogCopyright © 2016 Vaadin Ltd. All rights reserved.