public class ListModelMapProxy<K,V> extends org.zkoss.zul.ListModelMap<K,V> implements javassist.util.proxy.Proxy, FormProxyObject, Serializable
| Constructor and Description |
|---|
ListModelMapProxy(org.zkoss.zul.ListModelMap<K,V> origin,
Annotation[] callerAnnots) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListDataListener(org.zkoss.zul.event.ListDataListener l) |
void |
addPagingEventListener(org.zkoss.zul.event.PagingListener l) |
void |
addSelection(Map.Entry<K,V> obj) |
boolean |
addToSelection(Map.Entry<K,V> obj) |
void |
cacheSavePropertyBinding(String property,
SavePropertyBinding s)
Cache save property binding by property string
|
void |
clear() |
void |
clearSelection() |
Object |
clone() |
Set<org.zkoss.util.Pair<String,SavePropertyBinding>> |
collectCachedSavePropertyBinding()
Collect all of collect cached save property bindings
|
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object o) |
V |
get(Object key) |
int |
getActivePage() |
Map.Entry<K,V> |
getElementAt(int j) |
Map<K,V> |
getInnerMap() |
org.zkoss.zul.ListModelMap<K,V> |
getOriginObject()
Returns the origin object.
|
int |
getPageCount() |
int |
getPageSize() |
Set<Map.Entry<K,V>> |
getSelection() |
org.zkoss.zul.ext.SelectionControl |
getSelectionControl() |
int |
getSize() |
String |
getSortDirection(Comparator<Map.Entry<K,V>> cmpr) |
int |
hashCode() |
int |
indexOf(Object o) |
int |
indexOfKey(Object o) |
boolean |
isEmpty() |
boolean |
isFormDirty()
Returns whether the form proxy object is dirty or not, including all
of its attributes.
|
boolean |
isSelected(Object obj) |
boolean |
isSelectionEmpty() |
Set<K> |
keySet() |
void |
onDataChange(Object o) |
void |
onDirtyChange() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(Object key) |
boolean |
removeFromSelection(Object obj) |
void |
removeListDataListener(org.zkoss.zul.event.ListDataListener l) |
void |
removePagingEventListener(org.zkoss.zul.event.PagingListener l) |
void |
removeSelection(Object obj) |
void |
resetFromOrigin()
Resets all of the changes of this form from the origin object.
|
void |
setActivePage(int pg) |
protected void |
setDirty(boolean d) |
void |
setFormOwner(Object owner,
FormBinding binding)
Sets the owner of this form with its binding.
|
void |
setHandler(javassist.util.proxy.MethodHandler mi) |
void |
setMultiple(boolean multiple) |
void |
setPageSize(int size) |
void |
setPath(String property,
ProxyNode parent)
Set the property of current form proxy object and it's creator
|
void |
setSelection(Set<Map.Entry<K,V>> selection) |
void |
setSelectionControl(org.zkoss.zul.ext.SelectionControl ctrl) |
int |
size() |
void |
sort() |
void |
sort(Comparator<Map.Entry<K,V>> cmpr,
boolean ascending) |
void |
submitToOrigin(BindContext ctx)
Saves all of the changes of this form to the origin object.
|
protected static boolean |
testEquals(Object e,
Object o) |
String |
toString() |
Collection<V> |
values() |
fireSelectionEvent, readSelection, writeSelectionfireEvent, isMultiple, newEmptySelection, removeAllSelection, retainAllSelection, setSelectionfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ListModelMapProxy(org.zkoss.zul.ListModelMap<K,V> origin, Annotation[] callerAnnots)
public void addListDataListener(org.zkoss.zul.event.ListDataListener l)
public void removeListDataListener(org.zkoss.zul.event.ListDataListener l)
public boolean isSelected(Object obj)
public boolean isSelectionEmpty()
public boolean removeFromSelection(Object obj)
public void clearSelection()
public void setMultiple(boolean multiple)
public void setSelectionControl(org.zkoss.zul.ext.SelectionControl ctrl)
public org.zkoss.zul.ext.SelectionControl getSelectionControl()
public void removeSelection(Object obj)
public int getPageSize()
public void setPageSize(int size)
throws org.zkoss.zk.ui.WrongValueException
public int getPageCount()
public int getActivePage()
public void setActivePage(int pg)
throws org.zkoss.zk.ui.WrongValueException
public void addPagingEventListener(org.zkoss.zul.event.PagingListener l)
public void removePagingEventListener(org.zkoss.zul.event.PagingListener l)
public int getSize()
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public boolean equals(Object o)
public int hashCode()
public boolean isEmpty()
public void clear()
public Collection<V> values()
public int indexOfKey(Object o)
public int size()
public void sort(Comparator<Map.Entry<K,V>> cmpr, boolean ascending)
public void sort()
public String getSortDirection(Comparator<Map.Entry<K,V>> cmpr)
public org.zkoss.zul.ListModelMap<K,V> getOriginObject()
FormProxyObjectgetOriginObject in interface FormProxyObjectpublic void onDirtyChange()
public void onDataChange(Object o)
protected void setDirty(boolean d)
public void setHandler(javassist.util.proxy.MethodHandler mi)
setHandler in interface javassist.util.proxy.Proxypublic boolean isFormDirty()
FormProxyObjectisFormDirty in interface FormProxyObjectpublic void resetFromOrigin()
FormProxyObjectresetFromOrigin in interface FormProxyObjectpublic void submitToOrigin(BindContext ctx)
FormProxyObjectsubmitToOrigin in interface FormProxyObjectpublic void setFormOwner(Object owner, FormBinding binding)
FormProxyObjectsetFormOwner in interface FormProxyObjectowner - the object associated with this form.public void cacheSavePropertyBinding(String property, SavePropertyBinding s)
FormProxyObjectcacheSavePropertyBinding in interface FormProxyObjectproperty - the property of save property bindings - the save property bindingpublic Set<org.zkoss.util.Pair<String,SavePropertyBinding>> collectCachedSavePropertyBinding()
FormProxyObjectcollectCachedSavePropertyBinding in interface FormProxyObjectpublic void setPath(String property, ProxyNode parent)
FormProxyObjectsetPath in interface FormProxyObjectproperty - p the propertyparent - parent the parent proxy nodeCopyright © 2026. All rights reserved.