| org.zkoss.zul.impl.LabelImageElement org.zkoss.zul.Treecell
Treecell | public class Treecell extends LabelImageElement (Code) | | A treecell.
In XUL, treecell cannot have any child, but ZUL allows it.
Thus, you could place any kind of children in it. They will be placed
right after the image and label.
author: tomyeh |
Treecell | public Treecell()(Code) | | |
getColumnHtmlPostfix | public String getColumnHtmlPostfix()(Code) | | Returns the postfix of the first column (in HTML tags), null if this
is not first column. Called only by treecell.jsp.
|
getColumnHtmlPrefix | public String getColumnHtmlPrefix()(Code) | | Returns the prefix of the first column (in HTML tags), null if this
is not first column. Called only by treecell.jsp.
Used only for component template, not for application developers.
|
getColumnIndex | public int getColumnIndex()(Code) | | Returns the column index of this cell, starting from 0.
|
getLabelAttrs | public String getLabelAttrs()(Code) | | Returns the attributes used by the embedded HTML LABEL tag.
It returns text-relevant styles only.
Used only by component developer.
|
getLevel | public int getLevel()(Code) | | Returns the level this cell is. The root is level 0.
|
getSpan | public int getSpan()(Code) | | Returns number of columns to span this cell.
Default: 1.
|
getTree | public Tree getTree()(Code) | | Return the tree that owns this cell.
|
getTreecol | public Treecol getTreecol()(Code) | | Returns the tree col associated with this cell, or null if not available.
|
isLastChild | public boolean isLastChild(Treeitem item)(Code) | | Returns whether an item is the last child.
|
setSpan | public void setSpan(int span)(Code) | | Sets the number of columns to span this cell.
It is the same as the colspan attribute of HTML TD tag.
|
|
|