|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zul.AbstractListModel<Map.Entry<K,V>>
org.zkoss.zul.ListModelMap<K,V>
org.zkoss.zkplus.databind.BindingListModelMap<K,V>
public class BindingListModelMap<K,V>
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 Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary |
|---|
| Fields inherited from class org.zkoss.zul.ListModelMap |
|---|
_map |
| Fields inherited from class org.zkoss.zul.AbstractListModel |
|---|
_selection |
| Constructor Summary | |
|---|---|
BindingListModelMap(Map<K,V> map,
boolean live)
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.ListModelMap |
|---|
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 |
| Methods inherited from class org.zkoss.zul.AbstractListModel |
|---|
addListDataListener, addToSelection, clearSelection, fireEvent, getSelection, isMultiple, isSelected, isSelectionEmpty, newEmptySelection, removeAllSelection, removeFromSelection, removeListDataListener, retainAllSelection, setMultiple, setSelection |
| 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 BindingListModelMap(Map<K,V> map,
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<Map.Entry<K,V>>public int[] indexesOf(Object elm)
BindingListModelExt
indexesOf in interface BindingListModelExt<Map.Entry<K,V>>elm - the specified object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||