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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Interface that must be implemented by clients of the dialog service.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close the current dialog.
    boolean
    If a dialog is opened and still open, isShowingDialog() returns true until the previous opened dialog is closed.
    void
    Invoked during the pre-rendering registration.
    void
    Show a dialog.
  • Field Details

  • Method Details

    • render

      void render(PluginRequestTarget target)
      Invoked during the pre-rendering registration.
    • show

      void show(IDialogService.Dialog dialog)
      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