Package overit.geocallapp.wfm.ai
Class MenuUtilsAI.MenuNode
java.lang.Object
overit.geocallapp.wfm.ai.MenuUtilsAI.MenuNode
- Enclosing class:
MenuUtilsAI
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.
It store informations like its parents breadcrumb, it's position and the xml page it is linked to.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MenuNode
public MenuNode() -
MenuNode
-
-
Method Details
-
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
Adds a new parent for the node.- Parameters:
s- The new parent for the node.
-
getPos
Gets the node position inside theUIMenu.- Returns:
- The node position inside the
UIMenu.
-