|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.Object zk.Widget zul.Widget zul.mesh.MeshWidget zul.sel.SelectWidget zul.sel.Listbox
public class Listbox
A listbox.
Event:
Default Widget.getZclass()
: z-listbox.
To have a list box without stripping, you can specify a non-existent style
class to setOddRowSclass(_global_.String)
.
Field Summary | |
---|---|
boolean |
groupSelect
Whether to allow Listgroup to be selected Default: false |
Fields inherited from class zul.sel.SelectWidget |
---|
rightSelect |
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 | |
---|---|
ItemIter |
getBodyWidgetIterator()
Returns the list item iterator. |
int |
getGroupCount()
Returns the number of listgroup |
Array |
getGroups()
Returns a list of all Listgroup . |
Listhead |
getHeadWidgetClass()
Returns the head widget class |
String |
getOddRowSclass()
Returns the style class for the odd rows. |
boolean |
hasGroup()
Returns whether listgroup exists. |
boolean |
inSelectMold()
Returns whether the HTML's select tag is used. |
ItemIter |
itemIterator()
Returns the list item iterator. |
Listitem |
nextItem(Widget item)
Returns the next item. |
Listitem |
previousItem(Widget item)
Returns the previous item. |
protected void |
redrawEmpty_(Array out)
A redraw method for the empty message , if you want to customize the message , you could overwrite this. |
Listbox |
setOddRowSclass(String oddRowSclass)
Sets the style class for the odd rows. |
Listbox |
stripe()
Stripes the class for each item. |
Methods inherited from class zul.sel.SelectWidget |
---|
clearSelection, fireOnSelect, fixAnchor_, getName, getRows, getSelectedIndex, getSelectedItem, getSelectedItems, indexOfItem, isCheckmark, isMultiple, selectAll, selectItem, setCheckmark, setMultiple, setName, setRows, setSelectAll, setSelectedIndex, setSelectedItem, shallIgnoreSelect_ |
Methods inherited from class zul.mesh.MeshWidget |
---|
calcSize, getActivePage, getFocusCell, getHeadWidget, getInnerWidth, getPageCount, getPageSize, getPaginal, getPagingPosition, getSpan, inPagingMold, isAutopaging, isModel, isSizedByContent, setActivePage, setAutopaging, setInnerWidth, setModel, setPageSize, setPaginal, setPagingPosition, setSizedByContent, setSpan, syncSize |
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 |
Field Detail |
---|
public boolean groupSelect
Default: false
Method Detail |
---|
public int getGroupCount()
public Array getGroups()
Listgroup
.
public boolean hasGroup()
public Listitem nextItem(Widget item)
item
-
public Listitem previousItem(Widget item)
item
-
public String getOddRowSclass()
Default: Widget.getZclass()
-odd.
public Listbox setOddRowSclass(String oddRowSclass)
oddRowSclass
-
public boolean inSelectMold()
public Listbox stripe()
protected void redrawEmpty_(Array out)
out
- A array that contains html structure ,
it usually come from mold(redraw_).public Listhead getHeadWidgetClass()
public ItemIter itemIterator()
public ItemIter getBodyWidgetIterator()
itemIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |