Package org.hippoecm.frontend.dialog
Interface IDialogService
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
- All Known Implementing Classes:
DialogService
,DialogWindow
public interface IDialogService
extends org.apache.wicket.util.io.IClusterable
A service that displays modal dialogs. An instance of this service is provided
under the name IDialogService.class.getName().
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Interface that must be implemented by clients of the dialog service. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close the current dialog.boolean
If a dialog is opened and still open, isShowingDialog() returns true until the previous opened dialog is closed.void
render
(PluginRequestTarget target) Invoked during the pre-rendering registration.void
show
(IDialogService.Dialog dialog) Show a dialog.
-
Field Details
-
DIALOG_WICKET_ID
- See Also:
-
-
Method Details
-
render
Invoked during the pre-rendering registration. -
show
Show a dialog. When a dialog is already shown, the dialog is enqueued to be displayed when the current dialog is closed. -
close
void close()Close the current dialog. -
isShowingDialog
boolean isShowingDialog()If a dialog is opened and still open, isShowingDialog() returns true until the previous opened dialog is closed.- Returns:
- true if dialog is pending, otherwise false
-