Class ErrorMessagePanel

    • Field Detail

      • m_ErrorMessage

        protected String m_ErrorMessage
        the error message itself.
      • m_TextPanel

        protected TextPanel m_TextPanel
        the text panel for displaying the error.
      • m_CheckBoxConsole

        protected BaseCheckBox m_CheckBoxConsole
        the checkbox for including the console output.
    • Constructor Detail

      • ErrorMessagePanel

        public ErrorMessagePanel()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class BasePanel
      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BasePanel
      • getMenuBar

        public JMenuBar getMenuBar()
        Creates a menu bar (singleton per panel object). Can be used in frames.
        Specified by:
        getMenuBar in interface MenuBarProvider
        Returns:
        the menu bar
      • getConsoleCheckBox

        public BaseCheckBox getConsoleCheckBox()
        Returns the "console" checkbox.
        Returns:
        the checkbox
        See Also:
        m_CheckBoxConsole
      • setTitle

        public void setTitle​(String value)
        Sets the title to use.
        Parameters:
        value - the title
      • getTitle

        public String getTitle()
        Returns the current title.
        Returns:
        the title
      • setErrorMessage

        public void setErrorMessage​(String value)
        Sets the error message and updates the display.
        Parameters:
        value - the error message to display
      • getErrorMessage

        public String getErrorMessage()
        Returns the error message.
        Returns:
        the error message
      • setLineWrap

        public void setLineWrap​(boolean value)
        Enables/disables line wrap.
        Parameters:
        value - if true line wrap gets enabled
      • getLineWrap

        public boolean getLineWrap()
        Returns whether line wrap is enabled.
        Returns:
        true if line wrap enabled
      • update

        protected void update()
        Updates the display.