com.vaadin.client.communication
Class DefaultReconnectDialog
java.lang.Object
PopupPanel
com.vaadin.client.widgets.Overlay
com.vaadin.client.ui.VOverlay
com.vaadin.client.communication.DefaultReconnectDialog
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.CloseHandler<PopupPanel>, com.google.gwt.event.shared.EventHandler, ReconnectDialog
public class DefaultReconnectDialog
- extends VOverlay
- implements ReconnectDialog
The default implementation of the reconnect dialog
- Since:
- 7.6
- Author:
- Vaadin Ltd
|
Field Summary |
Label |
label
|
|
Method Summary |
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(java.lang.String text)
Sets the main text shown in the dialog |
void |
show(ApplicationConnection connection)
Shows the dialog to the user |
| Methods inherited from class com.vaadin.client.widgets.Overlay |
center, getOwner, hide, hide, hide, isShadowEnabled, isShimElementEnabled, isSinkShadowEvents, needsShimElement, onAttach, onClose, onDetach, positionOrSizeUpdated, setHeight, setOwner, setShadowEnabled, setShadowStyle, setSinkShadowEvents, setVisible, setWidth, setZIndex, show, sinkEvents, updateShadowSizeAndPosition, useShadowDiv |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.logical.shared.CloseHandler |
onClose |
label
public Label label
DefaultReconnectDialog
public DefaultReconnectDialog()
setText
public void setText(java.lang.String text)
- Description copied from interface:
ReconnectDialog
- Sets the main text shown in the dialog
- Specified by:
setText in interface ReconnectDialog
- Parameters:
text - the text to show
setReconnecting
public void setReconnecting(boolean reconnecting)
- Description copied from interface:
ReconnectDialog
- Sets the reconnecting state, which is true if we are trying to
re-establish a connection with the server.
- Specified by:
setReconnecting in interface ReconnectDialog
- Parameters:
reconnecting - true if we are trying to re-establish the server connection,
false if we have given up
show
public void show(ApplicationConnection connection)
- Description copied from interface:
ReconnectDialog
- Shows the dialog to the user
- Specified by:
show in interface ReconnectDialog
- Parameters:
connection - the application connection this is related to
setPopupPosition
public void setPopupPosition(int left,
int top)
- Overrides:
setPopupPosition in class Overlay
preload
public void preload(ApplicationConnection connection)
- Description copied from interface:
ReconnectDialog
- Called once after initialization to allow the reconnect dialog to preload
required resources, which might not be available when the server
connection is gone
- Specified by:
preload in interface ReconnectDialog
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.