|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.binding.value.support.AbstractPropertyChangePublisher
org.springframework.binding.value.support.AbstractValueModel
org.springframework.binding.value.support.BufferedValueModel
org.springframework.binding.value.support.BufferedCollectionValueModel
org.springframework.binding.value.support.DeepCopyBufferedCollectionValueModel
public class DeepCopyBufferedCollectionValueModel
Implementation of a BufferedCollectionValueModel that performs a deep copy on the elements of the collection.
Field Summary |
---|
Fields inherited from class org.springframework.binding.value.support.BufferedValueModel |
---|
BUFFERING_PROPERTY |
Fields inherited from class org.springframework.binding.value.support.AbstractValueModel |
---|
logger |
Fields inherited from interface org.springframework.binding.value.ValueModel |
---|
VALUE_PROPERTY |
Constructor Summary | |
---|---|
DeepCopyBufferedCollectionValueModel(ValueModel wrappedModel,
Class wrappedType)
Constructs a new DeepCopyBufferedCollectionValueModel. |
Method Summary | |
---|---|
protected Object |
deepCopy(Object value)
Create a new object that is a deep copy of the given object. |
protected Collection |
prepareBackingCollection(Collection col)
Prepare the backing collection for installation into the listListModel. |
Methods inherited from class org.springframework.binding.value.support.BufferedCollectionValueModel |
---|
createBufferedListModel, fireListModelChanged, getConcreteCollectionType, getValueToCommit, hasValueChanged, setValue |
Methods inherited from class org.springframework.binding.value.support.BufferedValueModel |
---|
commit, getCommitTrigger, getInnerMostWrappedValueModel, getValue, getWrappedValueModel, isBuffering, onWrappedValueChanged, revert, setCommitTrigger, toString |
Methods inherited from class org.springframework.binding.value.support.AbstractValueModel |
---|
addValueChangeListener, fireValueChange, fireValueChange, fireValueChange, fireValueChange, fireValueChange, fireValueChangeEvent, fireValueChangeWhenStillEqual, getValueChangeDetector, removeValueChangeListener, setValueChangeDetector, setValueSilently |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeepCopyBufferedCollectionValueModel(ValueModel wrappedModel, Class wrappedType)
wrappedModel
- the value model to wrapwrappedType
- the class of the value contained by wrappedModel; this must be
assignable to java.util.Collection
or
Object[]
.Method Detail |
---|
protected Collection prepareBackingCollection(Collection col)
prepareBackingCollection
in class BufferedCollectionValueModel
col
- The collection of objects to process
protected Object deepCopy(Object value)
value
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |