Class NoticeDialog

  • All Implemented Interfaces:
    Dialog

    public final class NoticeDialog
    extends Object
    implements Dialog
    Represents a simple dialog with text and one action at the bottom (default: "OK").
    • Constructor Detail

      • NoticeDialog

        public NoticeDialog​(DialogBase base)
      • NoticeDialog

        public NoticeDialog​(DialogBase base,
                            DialogClickAction action)
        Creates a new NoticeDialog instance.
        Parameters:
        base -
        action - The "OK" action button for the dialog.
    • Method Detail

      • getBase

        public DialogBase getBase()
        Description copied from interface: Dialog
        Gets the dialog base which contains the dialog title and other options common to all types of dialogs.
        Specified by:
        getBase in interface Dialog
        Returns:
        mutable reference to the dialog base
      • setBase

        public void setBase​(DialogBase base)
        Description copied from interface: Dialog
        Sets the dialog base.
        For internal use only as this is mandatory and should be specified in the constructor.
        Specified by:
        setBase in interface Dialog
        Parameters:
        base - the new dialog base
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object