Class ObserverPopup
java.lang.Object
org.eclnt.jsfserver.defaultscreens.ObserverPopup
- All Implemented Interfaces:
Serializable
Modal popup that is opened for long running server activities.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassObject that is passed back to the application - the application can add messages from its long running processing. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintDuration in ms in which the last messages are shown to the user before closing the popup.getImage()booleanbooleangetText()voidonLongPollingAction(ActionEvent event) voidvoidvoidsetDurationShowFinalMessages(int durationShowFinalMessages) voidsetHeadline(String value) void
-
Field Details
-
POPUP_WIDTH
public static int POPUP_WIDTH -
POPUP_HEIGHT
public static int POPUP_HEIGHT
-
-
Constructor Details
-
ObserverPopup
public ObserverPopup()
-
-
Method Details
-
getAvailableImage
public boolean getAvailableImage() -
getRenderedHttpPolling
public boolean getRenderedHttpPolling() -
getRenderedWebSocketPolling
public boolean getRenderedWebSocketPolling() -
getImage
-
getDurationShowFinalMessages
public int getDurationShowFinalMessages()Duration in ms in which the last messages are shown to the user before closing the popup. Default is "0" - the popup is immediately closed after processing the long operation. -
setDurationShowFinalMessages
public void setDurationShowFinalMessages(int durationShowFinalMessages) -
onLongPollingAction
-
prepare
-
prepare
-
run
-
run
-
getText
-
setText
-
setHeadline
-
getHeadline
-
getLongPollingURL
-