public class MenuTree extends Tree
EQUAL_SEPARATOR, PATH_SEPARATOR
Constructor and Description |
---|
MenuTree() |
Modifier and Type | Method and Description |
---|---|
MenuTreeNode |
getMenuTreeNode() |
java.util.List |
getTreePaths(java.lang.String ancestorPath,
boolean getPahtwithSatus) |
java.lang.String |
matchPath(java.lang.String pathTobeMatched,
boolean fuzzy,
java.lang.String status)
Purpose: find an matched path based on the parameter by walking the tree. |
void |
setFirstChild(Tree firstChild) |
void |
setNextSibling(Tree nextSibling) |
void |
setUserObject(java.lang.Object userObject) |
java.lang.String |
toString() |
exactMatchPath, findMatchPath, getChildCount, getFirstChild, getLevel, getNextSibling, getSiblingCount, getUserObject, setChildCount, setLevel, setSiblingCount, toStringArray, toStringArrayWOSiblings
public MenuTreeNode getMenuTreeNode()
public void setUserObject(java.lang.Object userObject)
setUserObject
in class Tree
public void setFirstChild(Tree firstChild)
setFirstChild
in class Tree
public void setNextSibling(Tree nextSibling)
setNextSibling
in class Tree
public java.util.List getTreePaths(java.lang.String ancestorPath, boolean getPahtwithSatus)
public java.lang.String matchPath(java.lang.String pathTobeMatched, boolean fuzzy, java.lang.String status)
pathTobeMatched,
- String, the path to be matchedfuzzy,
- boolean, Whether the match is exactstatus,
- String, the status of the node, example "Enabled Checked"Copyright © SAS Institute. All Rights Reserved.