|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReconnectDialog
Interface which must be implemented by the reconnect dialog
| Method Summary | |
|---|---|
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(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 |
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(java.lang.String text)
Sets the main text shown in the dialog |
void |
show(ApplicationConnection connection)
Shows the dialog to the user |
| Method Detail |
|---|
void setText(java.lang.String text)
text - the text to showvoid setReconnecting(boolean reconnecting)
reconnecting - true if we are trying to re-establish the server connection,
false if we have given upboolean isVisible()
void show(ApplicationConnection connection)
connection - the application connection this is related tovoid hide()
void setModal(boolean modal)
modal - true to make the dialog modal, false to allow usage while
dialog is shownboolean isModal()
setModal(boolean)void preload(ApplicationConnection connection)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||