public class DefaultReconnectDialog extends Object implements ReconnectDialog
| Constructor and Description |
|---|
DefaultReconnectDialog()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
hide()
Hides the dialog from the user.
|
boolean |
isModal()
Checks the modality of the dialog.
|
boolean |
isVisible()
Checks if the reconnect dialog is visible to the user.
|
void |
preload()
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 |
setModal(boolean modal)
Sets the modality of the dialog.
|
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()
Shows the dialog to the user.
|
public 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()
ReconnectDialogshow in interface ReconnectDialogpublic void preload()
ReconnectDialogpreload in interface ReconnectDialogpublic boolean isVisible()
ReconnectDialogisVisible in interface ReconnectDialogpublic void hide()
ReconnectDialoghide in interface ReconnectDialogpublic void setModal(boolean modal)
ReconnectDialogsetModal in interface ReconnectDialogmodal - true to make the dialog modal, false to allow usage while
dialog is shownpublic boolean isModal()
ReconnectDialogisModal in interface ReconnectDialogReconnectDialog.setModal(boolean)Copyright © 2000–2018 Vaadin Ltd. All rights reserved.