public class RichFacesTree extends Object implements Tree, AdvancedVisibleComponentIteractions<RichFacesTree.AdvancedTreeInteractionsImpl>
Modifier and Type | Class and Description |
---|---|
class |
RichFacesTree.AdvancedTreeInteractionsImpl |
Tree.AdvancedTreeInteractions, Tree.TreeNode
Constructor and Description |
---|
RichFacesTree() |
Modifier and Type | Method and Description |
---|---|
RichFacesTree.AdvancedTreeInteractionsImpl |
advanced() |
Tree.TreeNode |
collapseNode(ChoicePicker picker)
Collapses child node chosen by picker.
|
Tree.TreeNode |
collapseNode(int index)
Collapses child node at index.
|
Tree.TreeNode |
expandNode(ChoicePicker picker)
Expands child node chosen by picker.
|
Tree.TreeNode |
expandNode(int index)
Expands child node at index.
|
protected int |
getIndexOfPickedElement(ChoicePicker picker) |
Tree.TreeNode |
selectNode(ChoicePicker picker)
Selects child node chosen by picker.
|
Tree.TreeNode |
selectNode(int index)
Selects child node at index.
|
public RichFacesTree.AdvancedTreeInteractionsImpl advanced()
advanced
in interface AdvancedInteractions<RichFacesTree.AdvancedTreeInteractionsImpl>
public Tree.TreeNode collapseNode(int index)
Tree
collapseNode
in interface Tree
index
- index of nodepublic Tree.TreeNode collapseNode(ChoicePicker picker)
Tree
collapseNode
in interface Tree
picker
- object for defining rules according which the child node will be picked and collapsedpublic Tree.TreeNode expandNode(int index)
Tree
expandNode
in interface Tree
index
- index of nodepublic Tree.TreeNode expandNode(ChoicePicker picker)
Tree
expandNode
in interface Tree
picker
- object for defining rules according which the child node will be picked and expandedprotected int getIndexOfPickedElement(ChoicePicker picker)
public Tree.TreeNode selectNode(int index)
Tree
selectNode
in interface Tree
index
- index of nodepublic Tree.TreeNode selectNode(ChoicePicker picker)
Tree
selectNode
in interface Tree
picker
- object for defining rules according which the child node will be picked and selectedCopyright © 2016 JBoss by Red Hat. All Rights Reserved.