Class DialogWindow

    • Field Detail

      • GLOBAL_DIALOG_HINTS

        private static final java.util.Set<Window.Hint> GLOBAL_DIALOG_HINTS
    • Constructor Detail

      • DialogWindow

        protected DialogWindow​(java.lang.String title)
        Default constructor, takes a title for the dialog and runs code shared for dialogs
        Parameters:
        title - Title of the window
    • Method Detail

      • showDialog

        public java.lang.Object showDialog​(WindowBasedTextGUI textGUI)
        Opens the dialog by showing it on the GUI and doesn't return until the dialog has been closed
        Parameters:
        textGUI - Text GUI to add the dialog to
        Returns:
        Depending on the DialogWindow implementation, by default null