| Package | Description |
|---|---|
| com.vaadin.client.ui | |
| com.vaadin.client.ui.tree |
| Modifier and Type | Field and Description |
|---|---|
VTree.TreeNode |
VTree.focusedNode
For internal use only.
|
VTree.TreeNode |
VTree.lastSelection
For internal use only.
|
| Modifier and Type | Method and Description |
|---|---|
VTree.TreeNode |
VTree.getCommonGrandParent(VTree.TreeNode node1,
VTree.TreeNode node2)
Returns the first common parent of two nodes
|
protected VTree.TreeNode |
VTree.getFirstRootNode()
Returns the first root node of the tree or null if there are no root
nodes.
|
protected VTree.TreeNode |
VTree.getLastRootNode()
Returns the last root node of the tree or null if there are no root
nodes.
|
VTree.TreeNode |
VTree.getNodeByKey(String key) |
| Modifier and Type | Method and Description |
|---|---|
List<VTree.TreeNode> |
VTree.TreeNode.getChildren()
Returns the children of the node
|
protected List<VTree.TreeNode> |
VTree.getRootNodes()
Returns a list of all root nodes in the Tree in the order they appear in
the tree.
|
| Modifier and Type | Method and Description |
|---|---|
VTree.TreeNode |
VTree.getCommonGrandParent(VTree.TreeNode node1,
VTree.TreeNode node2)
Returns the first common parent of two nodes
|
boolean |
VTree.TreeNode.isGrandParentOf(VTree.TreeNode child)
Travels up the hierarchy looking for this node
|
boolean |
VTree.isSelected(VTree.TreeNode treeNode)
Is a node selected in the tree
|
boolean |
VTree.TreeNode.isSibling(VTree.TreeNode node) |
void |
VTree.registerNode(VTree.TreeNode treeNode) |
void |
VTree.setFocusedNode(VTree.TreeNode node)
Focuses a node and scrolls it into view
|
void |
VTree.setFocusedNode(VTree.TreeNode node,
boolean scrollIntoView)
Sets the node currently in focus
|
void |
VTree.setSelected(VTree.TreeNode treeNode,
boolean selected) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<VTree.TreeNode,TooltipInfo> |
TreeConnector.tooltipMap |
| Modifier and Type | Method and Description |
|---|---|
void |
TreeConnector.updateNodeFromUIDL(VTree.TreeNode treeNode,
UIDL uidl,
int level) |
Copyright © 2016 Vaadin Ltd. All rights reserved.