Package | Description |
---|---|
org.gatein.api.navigation |
Modifier and Type | Interface and Description |
---|---|
interface |
FilteredNode
A filtered node is obtained from
filter() and provides a mechanism for only showing specified nodes. |
Modifier and Type | Method and Description |
---|---|
Node |
Node.addChild(int index,
String childName)
Inserts a child to this navigation node at the specified index.
|
Node |
Node.addChild(String childName)
Adds a child to this navigation node.
|
Node |
Node.getChild(int index)
Returns the child node of the given index.
|
Node |
Node.getChild(String childName)
Returns the child node.
|
Node |
Node.getNode(NodePath nodePath)
Returns the node specified by the node path, relative to this node.
|
Node |
Navigation.getNode(NodePath nodePath)
Returns a node represented by the node path or null if the node was not found.
|
Node |
Navigation.getNode(NodePath nodePath,
NodeVisitor visitor)
Returns a node represented by the node path or null if the node was not found.
|
Node |
Node.getNode(String... nodePath)
Returns the node specified by the node path, relative to this node.
|
Node |
Navigation.getNode(String... nodePath)
Returns a node represented by the node path or null if the node was not found.
|
Node |
Node.getParent()
Returns the parent of the node, or null if the node is the root node.
|
Node |
Navigation.getRootNode(NodeVisitor visitor)
Returns the root node of the navigation with nodes loaded dependent on the
NodeVisitor |
Modifier and Type | Method and Description |
---|---|
static List<Node> |
Nodes.asList(Node node)
Returns an unmodifiable list with the children of the specified node
|
Modifier and Type | Method and Description |
---|---|
static List<Node> |
Nodes.asList(Node node)
Returns an unmodifiable list with the children of the specified node
|
void |
Node.moveTo(int index,
Node parent)
Moves this node to another parent inserting it at the specified index.
|
void |
Node.moveTo(Node parent)
Moves this node to another parent.
|
void |
Navigation.refreshNode(Node node)
Will refresh the node with latest from storage.
|
void |
Navigation.refreshNode(Node node,
NodeVisitor visitor)
Will refresh the node with latest from storage.
|
void |
Navigation.saveNode(Node node)
Saves a node.
|
Modifier and Type | Method and Description |
---|---|
FilteredNode |
FilteredNode.show(Filter<Node> filter)
Adds a the specified filter to this node
|
void |
Node.sort(Comparator<Node> comparator)
Will sort the children of this node per the comparator.
|
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.