Package wprover

Class HelpMode


  • public class HelpMode
    extends java.lang.Object
    The HelpMode class provides methods to manage and retrieve help items in GeoGebra.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Vector items
      A vector to store help items.
    • Constructor Summary

      Constructors 
      Constructor Description
      HelpMode()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void addItem​(java.lang.String comd, java.lang.String name)
      Adds a help item to the list.
      static void buildItems()
      Builds the list of help items if it is not already built.
      static java.lang.String getHelpMode​(java.lang.String comd)
      Retrieves the help mode filename for the given command.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • items

        public static java.util.Vector items
        A vector to store help items.
    • Constructor Detail

      • HelpMode

        public HelpMode()
    • Method Detail

      • getHelpMode

        public static java.lang.String getHelpMode​(java.lang.String comd)
        Retrieves the help mode filename for the given command.
        Parameters:
        comd - the command to look up
        Returns:
        the filename associated with the command, or null if not found
      • buildItems

        public static void buildItems()
        Builds the list of help items if it is not already built.
      • addItem

        public static void addItem​(java.lang.String comd,
                                   java.lang.String name)
        Adds a help item to the list.
        Parameters:
        comd - the command associated with the help item
        name - the filename of the help item