|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectzk.Object
zk.Widget
zul.Widget
zul.sel.ItemWidget
public class ItemWidget
The item widget for Treeitem and Listitem
| Field Summary |
|---|
| Fields inherited from class zk.Widget |
|---|
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName |
| Fields inherited from class zk.Object |
|---|
$class, $oid |
| Method Summary | |
|---|---|
String |
getLabel()
Returns the label of the Listcell or Treecell it contains, or null
if no such cell. |
MeshWidget |
getMeshWidget()
Returns the mesh widget. |
String |
getValue()
Returns the value. |
boolean |
isCheckable()
Returns whether it is checkable. |
boolean |
isDisabled()
Returns whether it is disabled. |
boolean |
isSelected()
Returns whether it is selected. |
protected boolean |
isStripeable_()
Returns whether is stripeable or not. |
void |
setCheckable(boolean checkable)
Sets whether it is checkable. |
void |
setDisabled(boolean disabled)
Sets whether it is disabled. |
void |
setSelected(boolean selected)
Sets whether it is selected. |
void |
setValue(String value)
Sets the value. |
| Methods inherited from class zul.Widget |
|---|
afterKeyDown_, beforeCtrlKeys_, getContext, getCtrlKeys, getOpenTooltip, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
| Methods inherited from class zk.Object |
|---|
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setCheckable(boolean checkable)
Default: true.
checkable - public boolean isCheckable()
Default: true.
public void setDisabled(boolean disabled)
disabled - public boolean isDisabled()
Default: false.
public void setValue(String value)
value - the value.
Note: the value is application dependent, you can place whatever value you want.
If you are using listitem/treeitem with HTML Form (and with the name attribute), it is better to specify a String-typed value.
public String getValue()
Default: null.
Note: the value is application dependent, you can place whatever value you want.
If you are using listitem/treeitem with HTML Form (and with the name attribute), it is better to specify a String-typed value.
public void setSelected(boolean selected)
selected - public String getLabel()
Listcell or Treecell it contains, or null
if no such cell.
public boolean isSelected()
Default: false.
protected boolean isStripeable_()
Default: true.
public MeshWidget getMeshWidget()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||