Class HelpFrame

    • Field Detail

      • m_Singleton

        protected static HelpFrame m_Singleton
        the singleton.
      • m_PanelHistory

        protected HelpHistoryPanel m_PanelHistory
        for displaying the help.
      • m_SplitPane

        protected BaseSplitPane m_SplitPane
        the split pane.
      • m_MenuItemClear

        protected JMenuItem m_MenuItemClear
        the clear menu item.
      • m_MenuItemSaveAs

        protected JMenuItem m_MenuItemSaveAs
        the save as menu item.
      • m_MenuItemClose

        protected JMenuItem m_MenuItemClose
        the close menu item.
    • Constructor Detail

      • HelpFrame

        protected HelpFrame()
        Initializes the frame.
    • Method Detail

      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BaseFrame
      • createMenu

        protected JMenuBar createMenu()
        Generates the menu.
      • updateMenu

        protected void updateMenu()
        Updates the state of the menu items.
      • getKeyListener

        protected KeyListener getKeyListener()
        Returns the KeyListener to use for text and button.
        Returns:
        the listener
      • showHelp

        public void showHelp​(String key,
                             HelpContainer cont)
        Shows the help.
        Parameters:
        key - the key for the help
        cont - the help
      • getSingleton

        public static HelpFrame getSingleton()
        Gives access to the singleton.
        Returns:
        the singleton
      • showHelp

        public static void showHelp​(Class cls)
        Shows the help in the frame.
        Parameters:
        cls - the class to generate the help for
      • showHelp

        public static void showHelp​(Object obj)
        Shows the help in the frame.
        Parameters:
        obj - the object to generate the help for
      • showHelp

        public static void showHelp​(Class cls,
                                    String help,
                                    boolean html)
        Shows the help in the frame.
        Parameters:
        cls - the class identifying the help screen
        help - the help to display
        html - true if to display as HTML
      • showHelp

        public static void showHelp​(String key,
                                    String help,
                                    boolean html)
        Shows the help in the frame.
        Parameters:
        key - the key identifying the help screen
        help - the help to display
        html - true if to display as HTML