|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NavigationModel
Interface to create model of the tree used for a navigation tree.
Il est composé deNavigationTreeNode
| Method Summary | |
|---|---|
NavigationTreeNode |
findNode(NavigationTreeNode root,
String path)
Search from a given root node a node named by his fully path (concatenation of nodes NavigationTreeNode.path valued separated
by getPathSeparator(). |
NavigationTreeNode |
findNode(NavigationTreeNode root,
String path,
Pattern regex)
Apply first the regex pattern to obtain the searched node. |
NavigationTreeNode |
findNode(NavigationTreeNode root,
String path,
String regex)
Apply first the regex pattern to obtain the searched node. |
NavigationTreeNode |
findNode(String path)
Search from the root node a node named by his fully path (concatenation of nodes NavigationTreeNode.path valued separated by dot. |
NavigationTreeNode |
findNode(String path,
Pattern regex)
Apply first the regex pattern to obtain the searched node. |
NavigationTreeNode |
findNode(String path,
String regex)
Apply first the regex pattern to obtain the searched node fi the given regex is not null. |
Object |
getBean(NavigationTreeNode node)
Obtain the associated bean value from context corresponding to node |
Object |
getBean(String navigationPath)
Obtain the associated bean value from context corresponding to node from given navigation path. |
JAXXContext |
getContext()
|
String |
getPathSeparator()
|
TreeNode[] |
getPathToRoot(TreeNode aNode)
|
Object |
getRoot()
|
void |
nodeChanged(TreeNode node)
|
void |
nodeChanged(TreeNode node,
boolean deep)
|
void |
nodeStructureChanged(TreeNode node)
|
| Method Detail |
|---|
Object getRoot()
TreeNode[] getPathToRoot(TreeNode aNode)
NavigationTreeNode findNode(String path)
NavigationTreeNode.path valued separated by dot.
Example :
$root.child1.leaf1
path - the fully path of the searched node.
null if not find.
NavigationTreeNode findNode(String path,
String regex)
regex is not null.
Search then from the root node a node named by his fully path
(concatenation of nodes NavigationTreeNode.path valued separated
by getPathSeparator().
Example :
$root.child1.leaf1
path - the fully path of the searched node.regex - a optional regex to apply to path before searching
null if not found.
NavigationTreeNode findNode(String path,
Pattern regex)
NavigationTreeNode.path valued separated
by getPathSeparator().
Example :
$root.child1.leaf1
path - the fully path of the searched node.regex - a optional regex to apply to path before searching
null if not found.
NavigationTreeNode findNode(NavigationTreeNode root,
String path)
NavigationTreeNode.path valued separated
by getPathSeparator().
root - root node to be usedpath - the fully path of the searched node.
null if not found.
NavigationTreeNode findNode(NavigationTreeNode root,
String path,
String regex)
NavigationTreeNode.path valued
separated by getPathSeparator().
root - root node to be usedpath - the fully path of the searched node.regex - a previous regex to apply to path : must have a matches
null if not found.
NavigationTreeNode findNode(NavigationTreeNode root,
String path,
Pattern regex)
NavigationTreeNode.path valued separated
by getPathSeparator().
root - root node to be usedpath - the fully path of the searched node.regex - a previous regex to apply to path : must have a matches
null if not found.JAXXContext getContext()
Object getBean(String navigationPath)
navigationPath - the current context path of the node
Object getBean(NavigationTreeNode node)
node - the current node
void nodeChanged(TreeNode node)
void nodeStructureChanged(TreeNode node)
void nodeChanged(TreeNode node,
boolean deep)
String getPathSeparator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||