Class ParameterPanel.HelpWrapperPanel

    • Field Detail

      • m_Wrapped

        protected Component m_Wrapped
        the wrapped component.
      • m_PanelHelp

        protected BasePanel m_PanelHelp
        the help panel.
      • m_TextHelp

        protected JTextPane m_TextHelp
        the help text.
    • Constructor Detail

      • HelpWrapperPanel

        public HelpWrapperPanel​(Component wrapped)
        Initializes the panel.
        Parameters:
        wrapped - the component to wrap
    • Method Detail

      • initGUI

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

        public void setWrapped​(Component value)
        Sets the wrapped component.
        Parameters:
        value - the component to wrap
      • setHelpVisible

        public void setHelpVisible​(boolean value)
        Hides and shows the help.
        Parameters:
        value - true if to show the help
      • isHelpVisible

        public boolean isHelpVisible()
        Returns whether the help is visible.
        Returns:
        true if visible
      • setHelp

        public void setHelp​(String value)
        Sets the help text to display.
        Parameters:
        value - the help
      • getHelp

        public String getHelp()
        Returns the current help text.
        Returns:
        the help