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
List model and List item renderer implementation for list of AD_Tab label.
ADTabLabel class aside, this is not use any more.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Value object for AD_Tab

    Nested classes/interfaces inherited from class org.zkoss.zul.AbstractListModel

    org.zkoss.zul.AbstractListModel.DefaultSelectionControl<E extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class org.zkoss.zul.AbstractListModel

    _selection

    Fields inherited from interface org.zkoss.zul.ListitemRendererExt

    DETACH_ON_RENDER

    Fields inherited from interface org.zkoss.zul.PageableModel

    INTERNAL_EVENT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    getElementAt(int index)
     
    int
     
    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, getListDataListeners, getPageCount, getPageSize, getSelection, getSelectionControl, getTotalSize, isMultiple, isSelected, isSelectionEmpty, newEmptySelection, readSelection, removeAllSelection, removeFromSelection, removeListDataListener, removePagingEventListener, retainAllSelection, setActivePage, setMultiple, setPageSize, setSelection, setSelectionControl, writeSelection

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getElementAt

      public Object getElementAt(int index)
      Specified by:
      getElementAt in interface org.zkoss.zul.ListModel<Object>
    • getSize

      public int getSize()
      Specified by:
      getSize in interface org.zkoss.zul.ListModel<Object>
    • render

      public void render(org.zkoss.zul.Listitem item, Object data, int index) throws Exception
      Specified by:
      render in interface org.zkoss.zul.ListitemRenderer<Object>
      Throws:
      Exception
    • getControls

      public int getControls()
      Specified by:
      getControls in interface org.zkoss.zul.ListitemRendererExt
    • newListcell

      public org.zkoss.zul.Listcell newListcell(org.zkoss.zul.Listitem item)
      Specified by:
      newListcell in interface org.zkoss.zul.ListitemRendererExt
    • newListitem

      public org.zkoss.zul.Listitem newListitem(org.zkoss.zul.Listbox listbox)
      Specified by:
      newListitem in interface org.zkoss.zul.ListitemRendererExt