|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Treechildren
A treechildren.
Field Summary |
---|
Fields inherited from interface org.zkoss.zk.ui.Component |
---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
Method Summary | |
---|---|
int |
getItemCount()
Returns the number of child Treeitem including all descendants. |
java.util.Collection |
getItems()
Returns a readonly list of all descending Treeitem (children's
children and so on). |
Treerow |
getLinkedTreerowApi()
Returns the Treerow that is associated with this treechildren, or
null if no such treerow. |
Tree |
getTreeApi()
|
int |
getVisibleItemCount()
Returns the number of visible descendant Treeitem . |
Methods inherited from interface org.zkoss.zul.impl.api.XulElement |
---|
getAction, getContext, getCtrlKeys, getPopup, getTooltip, setAction, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent |
---|
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex |
Methods inherited from interface org.zkoss.zk.ui.ext.Scope |
---|
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute |
Method Detail |
---|
Tree getTreeApi()
Treerow getLinkedTreerowApi()
Treerow
that is associated with this treechildren, or
null if no such treerow. In other words, it is
Treeitem.getTreerowApi()
of Component.getParent()
.
Treerow.getLinkedTreechildren()
java.util.Collection getItems()
Treeitem
(children's
children and so on).
Note: the performance of the size method of returned collection is no good.
int getItemCount()
Treeitem
including all descendants.
The same as getItems()
.size().
Note: the performance is no good.
int getVisibleItemCount()
Treeitem
. Descendants
include direct children, gran children and so on.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |