org.zkoss.zkplus.databind
Class BindingGroupsListModel

java.lang.Object
  extended by org.zkoss.zul.AbstractListModel<java.lang.Object>
      extended by org.zkoss.zul.impl.GroupsListModel
          extended by org.zkoss.zkplus.databind.BindingGroupsListModel
All Implemented Interfaces:
java.io.Serializable, BindingListModel, Selectable, ListModel

public class BindingGroupsListModel
extends GroupsListModel
implements BindingListModel, java.io.Serializable

This is the BindingListModel as a GroupsListModel to be used with Listbox, Grid, and DataBinder. Add or remove the contents of this model as a GroupListModel would cause the associated Listbox or Grid to change accordingly.

Since:
5.0.6
Author:
henrichen
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.zul.impl.GroupsListModel
GroupsListModel.GroupDataInfo
 
Field Summary
 
Fields inherited from class org.zkoss.zul.impl.GroupsListModel
_model
 
Fields inherited from class org.zkoss.zul.AbstractListModel
_selection
 
Constructor Summary
BindingGroupsListModel(GroupsModel model)
           
 
Method Summary
 int indexOf(java.lang.Object obj)
          Returns index of the given object inside a ListModel.
 
Methods inherited from class org.zkoss.zul.impl.GroupsListModel
addSelection, addToSelection, clearSelection, clone, equals, getDataInfo, getElementAt, getGroupOffset, getGroupsInfos, getGroupsModel, getSelection, getSize, hashCode, isMultiple, isSelected, isSelectionEmpty, removeFromSelection, removeSelection, setMultiple, setSelection, toListModel, toString
 
Methods inherited from class org.zkoss.zul.AbstractListModel
addListDataListener, fireEvent, fireSelectionEvent, newEmptySelection, readSelection, removeAllSelection, removeListDataListener, retainAllSelection, writeSelection
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.zkoss.zul.ListModel
addListDataListener, getElementAt, getSize, removeListDataListener
 

Constructor Detail

BindingGroupsListModel

public BindingGroupsListModel(GroupsModel model)
Method Detail

indexOf

public int indexOf(java.lang.Object obj)
Description copied from interface: BindingListModel
Returns index of the given object inside a ListModel.

Specified by:
indexOf in interface BindingListModel


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo