Class Sheet

    • Constructor Detail

      • Sheet

        public Sheet()
        Creates a new sheet.
      • Sheet

        public Sheet​(Component content)
        Creates a new sheet with an initial content component.
        Parameters:
        content - The sheet's content component.
    • Method Detail

      • open

        public final void open​(Display display,
                               Window owner)
        Description copied from class: Window
        Opens the window.

        Note that this method is not a synchronous call, it schedules an event to open the window.

        Overrides:
        open in class Window
        Parameters:
        display - The display on which the window will be opened.
        owner - The window's owner, or null if the window has no owner.
      • 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()