|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Treeitem | |
---|---|
org.zkoss.zul | ZUL component set that are used for HTML-based clients. |
Uses of Treeitem in org.zkoss.zul |
---|
Methods in org.zkoss.zul that return Treeitem | |
---|---|
Treeitem |
Treeitem.getParentItem()
Returns the parent tree item, or null if this item is already the top level of the tree. |
Treeitem |
Tree.getSelectedItem()
Returns the selected item. |
Treeitem |
Tree.renderItemByPath(int[] path)
Load treeitems through path path Note: By using this method, all treeitems in path will be rendered and opened ( setOpen(boolean) ). |
Methods in org.zkoss.zul with parameters of type Treeitem | |
---|---|
void |
Tree.addItemToSelection(Treeitem item)
Selects the given item, without deselecting any other items that are already selected.. |
protected java.lang.Object |
Tree.getAssociatedNode(Treeitem ti,
Tree t)
Return a node which is an associated Treeitem ti in a Tree tree |
static boolean |
Treecell.isLastChild(Treeitem item)
Returns whether an item is the last visible child. |
void |
Tree.removeItemFromSelection(Treeitem item)
Deselects the given item without deselecting other items. |
void |
TreeitemRenderer.render(Treeitem item,
java.lang.Object data)
Renders the data to the specified tree item. |
void |
Tree.renderItem(Treeitem item)
Renders the specified Treeitem , if not loaded yet,
with Tree.getTreeitemRenderer() . |
void |
Tree.renderItem(Treeitem item,
java.lang.Object node)
Renders the specified Treeitem , if not loaded yet,
with Tree.getTreeitemRenderer() . |
void |
Tree.selectItem(Treeitem item)
Deselects all of the currently selected items and selects the given item. |
void |
Tree.setActivePage(Treeitem item)
Sets the active page in which the specified item is. |
void |
Tree.setSelectedItem(Treeitem item)
Deselects all of the currently selected items and selects the given item. |
void |
Tree.toggleItemSelection(Treeitem item)
If the specified item is selected, it is deselected. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |