public class BindingListModelArray<E> extends org.zkoss.zul.ListModelArray<E> implements BindingListModelExt<E>, Serializable
This is the BindingListModel as a Object array to be used with
Listbox, Grid,
and DataBinder.
Modify the contents of this model as an Object array would cause the associated Listbox or Grid to change accordingly.
Make as public class since 3.0.5
Support BindingListModelEx since 3.1
BindingListModel,
ListModel,
ListModelArray,
Serialized Form| Constructor and Description |
|---|
BindingListModelArray(E[] c,
boolean live)
Deprecated.
|
BindingListModelArray(E[] c,
boolean live,
boolean distinct)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
indexesOf(Object elm)
Deprecated.
Returns indexes of the given object inside a ListModel.
|
boolean |
isDistinct()
Deprecated.
Returns true if all objects inside this ListModel is distinct.
|
addSelection, clone, equals, fireSelectionEvent, get, getElementAt, getInnerArray, getSize, getSortDirection, hashCode, indexOf, removeSelection, set, sort, toString, updateaddListDataListener, addPagingEventListener, addToSelection, clearSelection, fireEvent, getActivePage, getPageCount, getPageSize, getSelection, getSelectionControl, isMultiple, isSelected, isSelectionEmpty, newEmptySelection, readSelection, removeAllSelection, removeFromSelection, removeListDataListener, removePagingEventListener, retainAllSelection, setActivePage, setMultiple, setPageSize, setSelection, setSelectionControl, writeSelectionfinalize, getClass, notify, notifyAll, wait, wait, waitindexOfpublic BindingListModelArray(E[] c, boolean live, boolean distinct)
public BindingListModelArray(E[] c, boolean live)
public boolean isDistinct()
BindingListModelExtDataBinder performance so there is no need
to scan the whole ListModel as long as find one.isDistinct in interface BindingListModelExt<E>public int[] indexesOf(Object elm)
BindingListModelExtindexesOf in interface BindingListModelExt<E>elm - the specified objectCopyright © 2015. All rights reserved.