Class GenericFrame

    • Constructor Detail

      • GenericFrame

        public GenericFrame​(StatusGenericPanel panel)
        Constructor of the frame.
        Parameters:
        panel - the panel contained in this frame.
    • Method Detail

      • setVisible

        public void setVisible​(boolean visible)
        Overrides:
        setVisible in class Window
      • 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 frame using the title of the panel.