Class Dialog

    • Constructor Detail

      • Dialog

        public Dialog()
      • Dialog

        public Dialog​(boolean modal)
      • Dialog

        public Dialog​(java.lang.String title)
      • Dialog

        public Dialog​(java.lang.String title,
                      boolean modal)
      • Dialog

        public Dialog​(Component content)
      • Dialog

        public Dialog​(Component content,
                      boolean modal)
      • Dialog

        public Dialog​(java.lang.String title,
                      Component content)
      • Dialog

        public Dialog​(java.lang.String title,
                      Component content,
                      boolean modal)
    • Method Detail

      • isModal

        public boolean isModal()
      • setModal

        public void setModal​(boolean modal)
      • open

        public final void open​(Display display,
                               Window owner)
        Opens the dialog.
        Overrides:
        open in class Window
        Parameters:
        display - The display on which the dialog will be opened.
        owner - The window's owner. The dialog will be modal over this window.
      • open

        public final void open​(Display display,
                               DialogCloseListener dialogCloseListenerArgument)
        Opens the dialog.
        Parameters:
        display - The display on which the dialog will be opened.
        dialogCloseListenerArgument - A listener that will be called when the dialog is closed.
      • open

        public final void open​(Window owner,
                               DialogCloseListener dialogCloseListenerArgument)
        Opens the dialog.
        Parameters:
        owner - The window's owner. The dialog will be modal over this window.
        dialogCloseListenerArgument - A listener that will be called when the dialog is closed.
      • open

        public void open​(Display display,
                         Window owner,
                         DialogCloseListener dialogCloseListenerArgument)
        Opens the dialog.
        Parameters:
        display - The display on which the dialog will be opened.
        owner - The window's owner, or null if the window has no owner. Required if the dialog is modal.
        dialogCloseListenerArgument - A listener that will be called when the dialog is closed.
      • isClosing

        public boolean isClosing()
        Description copied from class: Window
        Returns this window's closing state.
        Overrides:
        isClosing in class Window
        Returns:
        true if the window is closing; false otherwise.
      • close

        public final void close()
        Description copied from class: Window
        Closes the window and all of its owned windows. If any owned window fails to close, this window will also fail to close.
        Overrides:
        close in class Window
      • close

        public void close​(boolean resultArgument)
      • getResult

        public boolean getResult()