|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Listcell
A list cell.
Default HtmlBasedComponent.getZclass(): z-list-cell. (since 3.5.0)
| 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 |
getColumnIndex()
Returns the column index of this cell, starting from 0. |
Listbox |
getListboxApi()
Returns the list box that it belongs to. |
Listheader |
getListheaderApi()
Returns the list header that is in the same column as this cell, or null if not available. |
int |
getMaxlength()
Returns the maximal length for this cell. |
int |
getSpan()
Returns number of columns to span this cell. |
java.lang.Object |
getValue()
Returns the value. |
void |
setSpan(int span)
Sets the number of columns to span this cell. |
void |
setValue(java.lang.Object value)
Sets the value. |
| Methods inherited from interface org.zkoss.zul.impl.api.LabelImageElement |
|---|
getHoverImage, getImage, getImageContent, setHoverImage, setHoverImageContent, setHoverImageContent, setImage, setImageContent, setImageContent |
| Methods inherited from interface org.zkoss.zul.impl.api.LabelElement |
|---|
getLabel, setLabel |
| 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 |
| Method Detail |
|---|
Listbox getListboxApi()
Listheader getListheaderApi()
int getColumnIndex()
int getMaxlength()
Listbox.getMaxlength() If not, it is the same as
the correponding getListheaderApi()'s Listheader.getMaxlength()
.
Note: Listitem.getMaxlength() is the same as
Listbox.getMaxlength().
java.lang.Object getValue()
Default: null.
Note: the value is application dependent, you can place whatever value you want.
void setValue(java.lang.Object value)
value - the value.
Note: the value is application dependent, you can place whatever value you want.
int getSpan()
void setSpan(int span)
It is the same as the colspan attribute of HTML TD tag.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||