public class ListModelSetProxy<E> extends org.zkoss.zul.ListModelSet<E> implements javassist.util.proxy.Proxy, FormProxyObject, Serializable
| Constructor and Description |
|---|
ListModelSetProxy(org.zkoss.zul.ListModelSet<E> origin,
Annotation[] callerAnnots) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o) |
boolean |
addAll(Collection<? extends E> c) |
void |
addListDataListener(org.zkoss.zul.event.ListDataListener l) |
void |
addPagingEventListener(org.zkoss.zul.event.PagingListener l) |
void |
addSelection(E obj) |
boolean |
addToSelection(E 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 |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
protected <T> T |
createProxyObject(T t) |
boolean |
equals(Object o) |
int |
getActivePage() |
E |
getElementAt(int j) |
Set<E> |
getInnerSet() |
org.zkoss.zul.ListModelSet<E> |
getOriginObject()
Returns the origin object.
|
int |
getPageCount() |
int |
getPageSize() |
Set<E> |
getSelection() |
org.zkoss.zul.ext.SelectionControl |
getSelectionControl() |
int |
getSize() |
String |
getSortDirection(Comparator<E> cmpr) |
int |
hashCode() |
int |
indexOf(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() |
Iterator<E> |
iterator() |
boolean |
notifyChange(E element) |
void |
onDataChange(Object o) |
void |
onDirtyChange() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
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.
|
boolean |
retainAll(Collection<?> c) |
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(Collection<? extends E> selection) |
void |
setSelectionControl(org.zkoss.zul.ext.SelectionControl ctrl) |
int |
size() |
void |
sort() |
void |
sort(Comparator<E> 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) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
fireEvent, isMultiple, newEmptySelection, readSelection, removeAllSelection, retainAllSelection, writeSelectionfinalize, getClass, notify, notifyAll, wait, wait, waitspliteratorparallelStream, removeIf, streampublic ListModelSetProxy(org.zkoss.zul.ListModelSet<E> origin, Annotation[] callerAnnots)
public void onDirtyChange()
public void onDataChange(Object o)
protected void setDirty(boolean d)
public void addListDataListener(org.zkoss.zul.event.ListDataListener l)
public void removeListDataListener(org.zkoss.zul.event.ListDataListener l)
public void setSelection(Collection<? extends E> selection)
public boolean isSelected(Object obj)
public boolean isSelectionEmpty()
public boolean addToSelection(E obj)
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 int getPageSize()
getPageSize in interface org.zkoss.zul.ext.PageablegetPageSize in class org.zkoss.zul.AbstractListModel<E>public void setPageSize(int size)
throws org.zkoss.zk.ui.WrongValueException
setPageSize in interface org.zkoss.zul.ext.PageablesetPageSize in class org.zkoss.zul.AbstractListModel<E>org.zkoss.zk.ui.WrongValueExceptionpublic int getPageCount()
getPageCount in interface org.zkoss.zul.ext.PageablegetPageCount in class org.zkoss.zul.AbstractListModel<E>public int getActivePage()
getActivePage in interface org.zkoss.zul.ext.PageablegetActivePage in class org.zkoss.zul.AbstractListModel<E>public void setActivePage(int pg)
throws org.zkoss.zk.ui.WrongValueException
setActivePage in interface org.zkoss.zul.ext.PageablesetActivePage in class org.zkoss.zul.AbstractListModel<E>org.zkoss.zk.ui.WrongValueExceptionpublic void addPagingEventListener(org.zkoss.zul.event.PagingListener l)
addPagingEventListener in interface org.zkoss.zul.PageableModeladdPagingEventListener in class org.zkoss.zul.AbstractListModel<E>public void removePagingEventListener(org.zkoss.zul.event.PagingListener l)
removePagingEventListener in interface org.zkoss.zul.PageableModelremovePagingEventListener in class org.zkoss.zul.AbstractListModel<E>public Set<E> getInnerSet()
getInnerSet in class org.zkoss.zul.ListModelSet<E>public int getSize()
public E getElementAt(int j)
public boolean notifyChange(E element)
notifyChange in class org.zkoss.zul.ListModelSet<E>public boolean add(E o)
public boolean addAll(Collection<? extends E> c)
public void clear()
public boolean contains(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>containsAll in interface Set<E>containsAll in class org.zkoss.zul.ListModelSet<E>public boolean equals(Object o)
public int hashCode()
public boolean isEmpty()
public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] a)
public void sort(Comparator<E> cmpr, boolean ascending)
public void sort()
public String getSortDirection(Comparator<E> cmpr)
public void addSelection(E obj)
addSelection in class org.zkoss.zul.ListModelSet<E>public void removeSelection(Object obj)
removeSelection in class org.zkoss.zul.ListModelSet<E>public void setHandler(javassist.util.proxy.MethodHandler mi)
setHandler in interface javassist.util.proxy.Proxypublic org.zkoss.zul.ListModelSet<E> getOriginObject()
FormProxyObjectgetOriginObject in interface FormProxyObjectpublic void resetFromOrigin()
FormProxyObjectresetFromOrigin in interface FormProxyObjectpublic void submitToOrigin(BindContext ctx)
FormProxyObjectsubmitToOrigin in interface FormProxyObjectpublic boolean isFormDirty()
FormProxyObjectisFormDirty in interface FormProxyObjectpublic void setFormOwner(Object owner, FormBinding binding)
FormProxyObjectsetFormOwner in interface FormProxyObjectowner - the object associated with this form.public void setPath(String property, ProxyNode parent)
FormProxyObjectsetPath in interface FormProxyObjectproperty - p the propertyparent - parent the parent proxy nodepublic 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 FormProxyObjectprotected <T> T createProxyObject(T t)
Copyright © 2022. All rights reserved.