|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TreeNode | |
---|---|
org.apache.myfaces.custom.tree | |
org.apache.myfaces.custom.tree.model |
Uses of TreeNode in org.apache.myfaces.custom.tree |
---|
Subinterfaces of TreeNode in org.apache.myfaces.custom.tree | |
---|---|
interface |
MutableTreeNode
Defines the requirements for a tree node object that can change -- by adding or removing child nodes, or by changing the contents of a user object stored in the node. |
Classes in org.apache.myfaces.custom.tree that implement TreeNode | |
---|---|
class |
DefaultMutableTreeNode
Default implementation of MutableTreeNode . |
Methods in org.apache.myfaces.custom.tree that return TreeNode | |
---|---|
TreeNode |
TreeNode.getChildAt(int childIndex)
Answer the child at the given index. |
TreeNode |
DefaultMutableTreeNode.getChildAt(int index)
|
TreeNode |
TreeNode.getParent()
Answer the parent of this node. |
TreeNode |
DefaultMutableTreeNode.getParent()
|
Methods in org.apache.myfaces.custom.tree with parameters of type TreeNode | |
---|---|
int |
TreeNode.getIndex(TreeNode node)
Answer the index of the given node in this node's children. |
int |
DefaultMutableTreeNode.getIndex(TreeNode node)
|
Uses of TreeNode in org.apache.myfaces.custom.tree.model |
---|
Methods in org.apache.myfaces.custom.tree.model that return TreeNode | |
---|---|
TreeNode[] |
DefaultTreeModel.getPathToRoot(TreeNode node)
Collect all parent nodes up to the root node. |
protected TreeNode[] |
DefaultTreeModel.getPathToRoot(TreeNode node,
int depth)
Recursivly collect parent nodes up the the root node. |
Methods in org.apache.myfaces.custom.tree.model with parameters of type TreeNode | |
---|---|
TreeNode[] |
DefaultTreeModel.getPathToRoot(TreeNode node)
Collect all parent nodes up to the root node. |
protected TreeNode[] |
DefaultTreeModel.getPathToRoot(TreeNode node,
int depth)
Recursivly collect parent nodes up the the root node. |
void |
DefaultTreeModel.nodeChanged(TreeNode node)
Invoke this method after you've changed how node is to be represented in the tree. |
void |
DefaultTreeModel.nodesChanged(TreeNode node,
int[] childIndices)
Invoke this method after you've changed how the children identified by childIndicies are to be represented in the tree. |
void |
DefaultTreeModel.nodeStructureChanged(TreeNode node)
Invoke this method if you've totally changed the children of node and its childrens children... |
void |
DefaultTreeModel.nodesWereInserted(TreeNode node,
int[] childIndices)
Invoke this method after you've inserted some TreeNodes into node. |
void |
DefaultTreeModel.nodesWereRemoved(TreeNode node,
int[] childIndices,
Object[] removedChildren)
Invoke this method after you've removed some TreeNodes from node. |
Constructors in org.apache.myfaces.custom.tree.model with parameters of type TreeNode | |
---|---|
DefaultTreeModel(TreeNode root)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |