public class BindingListModelMap<K,V> extends ListModelMap<K,V> implements BindingListModelExt<java.util.Map.Entry<K,V>>, java.io.Serializable
This is the BindingListModel
as a Map
to be used with
Listbox
, Grid
,
and DataBinder
.
Add or remove the contents of this model as a Map would cause the associated Listbox or Grid to change accordingly.
Make as public class since 3.0.5
Support BindingListModelEx since 3.1
BindingListModel
,
BindingListModelExt
,
ListModel
,
ListModelMap
,
Serialized FormAbstractListModel.DefaultSelectionControl<E>
_map
_selection
INTERNAL_EVENT
Constructor and Description |
---|
BindingListModelMap(java.util.Map<K,V> map,
boolean live)
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.
|
addSelection, clear, clone, containsKey, containsValue, entrySet, equals, fireSelectionEvent, get, getElementAt, getInnerMap, getSize, getSortDirection, hashCode, indexOf, indexOfKey, isEmpty, keySet, put, putAll, readSelection, remove, removeSelection, size, sort, toString, values, writeSelection
addListDataListener, addPagingEventListener, addToSelection, clearSelection, fireEvent, getActivePage, getPageCount, getPageSize, getSelection, getSelectionControl, isMultiple, isSelected, isSelectionEmpty, newEmptySelection, removeAllSelection, removeFromSelection, removeListDataListener, removePagingEventListener, retainAllSelection, setActivePage, setMultiple, setPageSize, setSelection, setSelectionControl
finalize, getClass, notify, notifyAll, wait, wait, wait
indexOf
addListDataListener, getElementAt, getSize, removeListDataListener
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<java.util.Map.Entry<K,V>>
public int[] indexesOf(java.lang.Object elm)
BindingListModelExt
indexesOf
in interface BindingListModelExt<java.util.Map.Entry<K,V>>
elm
- the specified objectCopyright © 2005-2018 Potix Corporation. All Rights Reserved.