Annotation Interface DialogMode


@Documented @Retention(RUNTIME) @Target(TYPE) @Inherited public @interface DialogMode
Specifies parameters of DialogWindow.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Specifies whether the dialog should close when the "Escape" key is pressed.
    boolean
    Specifies whether the dialog should close when a click is detected outside of it.
    boolean
    Specifies whether the dialog window can be dragged by the user.
    Specifies the height of the dialog window.
    Returns the left position of the overlay.
    Specifies the maximum height of the dialog window.
    Specifies the maximum width of the dialog window.
    Specifies the minimum height of the dialog window.
    Specifies the minimum width of the dialog window.
    boolean
    Specifies whether the dialog window should be modal.
    boolean
    Specifies whether the dialog window can be resized by the user.
    Returns the top position of the overlay.
    Specifies the width of the dialog window.
  • Element Details

    • width

      String width
      Specifies the width of the dialog window. The value can be defined as a valid CSS width (e.g., "400px", "50%", "auto"). If not specified, it defaults to an empty string which implies no specific width is set.
      Returns:
      the specified width of the dialog window
      Default:
      ""
    • maxWidth

      String maxWidth
      Specifies the maximum width of the dialog window. The value can be defined as a valid CSS width (e.g., "600px", "70%", "none"). If not specified, it defaults to an empty string, which implies no specific maximum width is set.
      Returns:
      the maximum width of the dialog window
      Default:
      ""
    • minWidth

      String minWidth
      Specifies the minimum width of the dialog window. The value can be defined as a valid CSS width (e.g., "300px", "40%", "auto"). If not specified, it defaults to an empty string, which implies no specific minimum width is set.
      Returns:
      the minimum width of the dialog window
      Default:
      ""
    • height

      String height
      Specifies the height of the dialog window. The value can be defined as a valid CSS height (e.g., "200px", "50%", "auto"). If not specified, it defaults to an empty string, which implies no specific height is set.
      Returns:
      the specified height of the dialog window
      Default:
      ""
    • maxHeight

      String maxHeight
      Specifies the maximum height of the dialog window. The value can be defined as a valid CSS height (e.g., "400px", "60%", "none"). If not specified, it defaults to an empty string, which implies no specific maximum height is set.
      Returns:
      the maximum height of the dialog window
      Default:
      ""
    • minHeight

      String minHeight
      Specifies the minimum height of the dialog window. The value can be defined as a valid CSS height (e.g., "100px", "30%", "auto"). If not specified, it defaults to an empty string, which implies no specific minimum height is set.
      Returns:
      the minimum height of the dialog window
      Default:
      ""
    • left

      String left
      Returns the left position of the overlay.
      Returns:
      the left position of the overlay
      Default:
      ""
    • top

      String top
      Returns the top position of the overlay.
      Returns:
      the top position of the overlay
      Default:
      ""
    • modal

      boolean modal
      Specifies whether the dialog window should be modal. When set to true, the dialog will disable interaction with elements outside of the dialog while it is open.
      Returns:
      true if the dialog is modal, otherwise false
      Default:
      true
    • draggable

      boolean draggable
      Specifies whether the dialog window can be dragged by the user.
      Returns:
      true if the dialog is draggable, otherwise false
      Default:
      true
    • resizable

      boolean resizable
      Specifies whether the dialog window can be resized by the user.
      Returns:
      true if the dialog is resizable, otherwise false
      Default:
      false
    • closeOnOutsideClick

      boolean closeOnOutsideClick
      Specifies whether the dialog should close when a click is detected outside of it.
      Returns:
      true if the dialog should close on outside click, otherwise false
      Default:
      false
    • closeOnEsc

      boolean closeOnEsc
      Specifies whether the dialog should close when the "Escape" key is pressed.
      Returns:
      true if the dialog should close on pressing the "Escape" key, otherwise false
      Default:
      false