|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zul.AbstractListModel<E>
org.zkoss.zul.ListModelList<E>
org.zkoss.zkplus.databind.BindingListModelList<E>
public class BindingListModelList<E>
This is the BindingListModel as a List to be used with
Listbox, Grid,
and DataBinder.
Add or remove the contents of this model as a List 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,
ListModelList,
Serialized Form| Field Summary |
|---|
| Fields inherited from class org.zkoss.zul.ListModelList |
|---|
_list |
| Fields inherited from class org.zkoss.zul.AbstractListModel |
|---|
_selection |
| Constructor Summary | |
|---|---|
BindingListModelList(List<E> list,
boolean live)
Deprecated. |
|
BindingListModelList(List<E> list,
boolean live,
boolean distinct)
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.zkoss.zul.ListModelList |
|---|
add, add, addAll, addAll, addSelection, clear, clone, contains, containsAll, equals, fireSelectionEvent, get, getElementAt, getInnerList, getSize, getSortDirection, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, removeSelection, retainAll, set, size, sort, subList, toArray, toArray, toString |
| Methods inherited from class org.zkoss.zul.AbstractListModel |
|---|
addListDataListener, addToSelection, clearSelection, fireEvent, getSelection, isMultiple, isSelected, isSelectionEmpty, newEmptySelection, readSelection, removeAllSelection, removeFromSelection, removeListDataListener, retainAllSelection, setMultiple, setSelection, writeSelection |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.zkoss.zkplus.databind.BindingListModel |
|---|
indexOf |
| Methods inherited from interface org.zkoss.zul.ListModel |
|---|
addListDataListener, getElementAt, getSize, removeListDataListener |
| Constructor Detail |
|---|
public BindingListModelList(List<E> list,
boolean live,
boolean distinct)
public BindingListModelList(List<E> list,
boolean live)
| Method Detail |
|---|
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)
BindingListModelExt
indexesOf in interface BindingListModelExt<E>elm - the specified object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||