Package org.adempiere.webui.component
Class ADTabListModel
- java.lang.Object
-
- org.zkoss.zul.AbstractListModel<Object>
-
- org.adempiere.webui.component.ADTabListModel
-
- All Implemented Interfaces:
Serializable
,org.zkoss.zul.ext.Pageable
,org.zkoss.zul.ext.Selectable<Object>
,org.zkoss.zul.ListitemRenderer<Object>
,org.zkoss.zul.ListitemRendererExt
,org.zkoss.zul.ListModel<Object>
,org.zkoss.zul.PageableModel
public class ADTabListModel extends org.zkoss.zul.AbstractListModel<Object> implements org.zkoss.zul.ListitemRenderer<Object>, org.zkoss.zul.ListitemRendererExt
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ADTabListModel.ADTabLabel
-
Nested classes/interfaces inherited from class org.zkoss.zul.AbstractListModel
org.zkoss.zul.AbstractListModel.DefaultSelectionControl<E extends Object>
-
-
Constructor Summary
Constructors Constructor Description ADTabListModel(List<ADTabListModel.ADTabLabel> listItems, IADTabbox tabbox)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getControls()
Object
getElementAt(int index)
int
getSize()
org.zkoss.zul.Listcell
newListcell(org.zkoss.zul.Listitem item)
org.zkoss.zul.Listitem
newListitem(org.zkoss.zul.Listbox listbox)
void
render(org.zkoss.zul.Listitem item, Object data, int index)
-
Methods inherited from class org.zkoss.zul.AbstractListModel
addListDataListener, addPagingEventListener, addToSelection, clearSelection, clone, fireEvent, fireSelectionEvent, getActivePage, getPageCount, getPageSize, getSelection, getSelectionControl, isMultiple, isSelected, isSelectionEmpty, newEmptySelection, readSelection, removeAllSelection, removeFromSelection, removeListDataListener, removePagingEventListener, retainAllSelection, setActivePage, setMultiple, setPageSize, setSelection, setSelectionControl, writeSelection
-
-
-
-
Constructor Detail
-
ADTabListModel
public ADTabListModel(List<ADTabListModel.ADTabLabel> listItems, IADTabbox tabbox)
-
-
Method Detail
-
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt
in interfaceorg.zkoss.zul.ListModel<Object>
-
getSize
public int getSize()
- Specified by:
getSize
in interfaceorg.zkoss.zul.ListModel<Object>
-
getControls
public int getControls()
- Specified by:
getControls
in interfaceorg.zkoss.zul.ListitemRendererExt
-
newListcell
public org.zkoss.zul.Listcell newListcell(org.zkoss.zul.Listitem item)
- Specified by:
newListcell
in interfaceorg.zkoss.zul.ListitemRendererExt
-
newListitem
public org.zkoss.zul.Listitem newListitem(org.zkoss.zul.Listbox listbox)
- Specified by:
newListitem
in interfaceorg.zkoss.zul.ListitemRendererExt
-
-