Class MenuUtilsAI.MenuNode

java.lang.Object
overit.geocallapp.wfm.ai.MenuUtilsAI.MenuNode
Enclosing class:
MenuUtilsAI

public static class MenuUtilsAI.MenuNode extends Object
Wrapper class used to represents a menu node's path during the research of a menu's node.
It store informations like its parents breadcrumb, it's position and the xml page it is linked to.
  • Constructor Details

    • MenuNode

      public MenuNode()
    • MenuNode

      public MenuNode(String s)
  • Method Details

    • getPath

      public String getPath()
      Gets the path (in a form like node1 -> node2) from the root, to reach this node.
      Returns:
      the path (in a form like node1 -> node2) from the root, to reach this node.
    • add

      public void add(String s)
      Adds a new parent for the node.
      Parameters:
      s - The new parent for the node.
    • getPos

      public String getPos()
      Gets the node position inside the UIMenu.
      Returns:
      The node position inside the UIMenu.