Class GenericDialog

    • Constructor Detail

      • GenericDialog

        public GenericDialog​(JFrame parentFrame,
                             StatusGenericPanel panel)
        Constructor of the dialog.
        Parameters:
        parentFrame - the parent frame of the dialog.
        panel - the panel contained in this dialog.
    • Method Detail

      • setVisible

        public void setVisible​(boolean visible)
        Overrides:
        setVisible in class Dialog
      • setEnabledOK

        public void setEnabledOK​(boolean enable)
        Sets the enable state of the OK button.
        Parameters:
        enable - whether the OK button must be enabled or not.
      • setEnabledCancel

        public void setEnabledCancel​(boolean enable)
        Sets the enable state of the Cancel button.
        Parameters:
        enable - whether the Cancel button must be enabled or not.
      • setEnabledClose

        public void setEnabledClose​(boolean enable)
        Sets the enable state of the Close button.
        Parameters:
        enable - whether the Close button must be enabled or not.
      • updateTitle

        public void updateTitle()
        Updates the title of the dialog using the title of the panel.