public class BindingListModelList<E> extends ListModelList<E> implements BindingListModelExt<E>, java.io.Serializable
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 FormAbstractListModel.DefaultSelectionControl<E>
_list
_selection
INTERNAL_EVENT
Constructor and Description |
---|
BindingListModelList(java.util.List<E> list,
boolean live)
Deprecated.
|
BindingListModelList(java.util.List<E> list,
boolean live,
boolean distinct)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int[] |
indexesOf(java.lang.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.
|
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, update
addListDataListener, addPagingEventListener, addToSelection, clearSelection, fireEvent, getActivePage, getPageCount, getPageSize, getSelection, getSelectionControl, isMultiple, isSelected, isSelectionEmpty, newEmptySelection, readSelection, removeAllSelection, removeFromSelection, removeListDataListener, removePagingEventListener, retainAllSelection, setActivePage, setMultiple, setPageSize, setSelection, setSelectionControl, writeSelection
finalize, getClass, notify, notifyAll, wait, wait, wait
indexOf
addListDataListener, getElementAt, getSize, removeListDataListener
public BindingListModelList(java.util.List<E> list, boolean live, boolean distinct)
public BindingListModelList(java.util.List<E> list, boolean live)
public boolean isDistinct()
BindingListModelExt
DataBinder
performance so there is no need
to scan the whole ListModel as long as find one.isDistinct
in interface BindingListModelExt<E>
public int[] indexesOf(java.lang.Object elm)
BindingListModelExt
indexesOf
in interface BindingListModelExt<E>
elm
- the specified objectCopyright © 2005-2011 Potix Corporation. All Rights Reserved.