Package org.zkoss.bind.proxy
Class ListProxy<E>
- java.lang.Object
-
- org.zkoss.bind.proxy.AbstractCollectionProxy<E>
-
- org.zkoss.bind.proxy.ListProxy<E>
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.List<E>
,javassist.util.proxy.Proxy
,FormProxyObject
public class ListProxy<E> extends AbstractCollectionProxy<E> implements java.util.List<E>
A list proxy- Since:
- 8.0.0
- Author:
- jumperchen
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.bind.proxy.AbstractCollectionProxy
_dirty, isImmutableElements
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, E element)
boolean
addAll(int index, java.util.Collection<? extends E> c)
E
get(int index)
int
indexOf(java.lang.Object o)
protected java.util.Collection<E>
initCache()
int
lastIndexOf(java.lang.Object o)
java.util.ListIterator<E>
listIterator()
java.util.ListIterator<E>
listIterator(int index)
E
remove(int index)
E
set(int index, E element)
java.util.List<E>
subList(int fromIndex, int toIndex)
-
Methods inherited from class org.zkoss.bind.proxy.AbstractCollectionProxy
add, addAll, cacheSavePropertyBinding, clear, collectCachedSavePropertyBinding, contains, containsAll, createProxyObject, getCache, getOriginObject, isEmpty, isFormDirty, iterator, onDataChange, onDirtyChange, remove, removeAll, replaceOrigin, resetFromOrigin, retainAll, setDirty, setFormOwner, setHandler, setPath, size, submitToOrigin, testEquals, toArray, toArray
-
-
-
-
Constructor Detail
-
ListProxy
public ListProxy(java.util.Collection<E> origin, java.lang.annotation.Annotation[] callerAnnots)
-
-
Method Detail
-
initCache
protected java.util.Collection<E> initCache()
- Specified by:
initCache
in classAbstractCollectionProxy<E>
-
addAll
public boolean addAll(int index, java.util.Collection<? extends E> c)
- Specified by:
addAll
in interfacejava.util.List<E>
-
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf
in interfacejava.util.List<E>
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf
in interfacejava.util.List<E>
-
listIterator
public java.util.ListIterator<E> listIterator()
- Specified by:
listIterator
in interfacejava.util.List<E>
-
listIterator
public java.util.ListIterator<E> listIterator(int index)
- Specified by:
listIterator
in interfacejava.util.List<E>
-
-