public class UiDataBindingList extends AbstractUiDataBinding<List>
UiDataBinding for the type
List.| Constructor and Description |
|---|
UiDataBindingList(AbstractUiWidget widget)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected List |
createCopyOfValue(List value)
This method will create a (deep-)copy of the given
value. |
protected List |
createNewValue()
This method creates a new instance of <VALUE> (see
AbstractUiFeatureValueAndValidation.getValue()). |
addChangeHandler, bind, createAndBind, createAndBind, createPropertyAccessor, createPropertyAccessor, createValidationFailure, doGetValue, doSetValue, getLabel, getLogger, getOriginalValue, getRecentValue, getSource, getValidity, getValueDirect, getWidget, isModified, removeChangeHandler, setMandatory, setModified, setValidity, setValue, toStringaddValidator, doValidate, isMandatory, isMandatory, removeValidatoraddValidatorMandatory, clearValidity, getValue, getValueAndValidate, getValueOrException, handleGetValueError, resetValue, setValue, setValueForUser, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdoValidategetValueAndValidateresetValue, setValue, setValueForUsergetValue, getValueOrExceptionaddValidatorMandatory, isMandatoryaddValidator, removeValidatorvalidatepublic UiDataBindingList(AbstractUiWidget widget)
widget - is the widget to bind.protected List createNewValue()
AbstractUiFeatureValueAndValidation.getValue()). It is called from
AbstractUiDataBinding.getValueDirect(Object, ValidationState) or AbstractUiFeatureValueAndValidation.setValue(Object) in case the given value is
null. Void or a Datatype (immutable object), this
method should legally return null. This can also be suitable for objects that only delegate
their value to something else. Further, to be GWT compatible you cannot create the
new instance via reflection. If you do not care about GWT, you can use reflection or better use it via
PojoFactory.createNewValue in class AbstractUiDataBinding<List>protected List createCopyOfValue(List value)
value. null.createCopyOfValue in class AbstractUiDataBinding<List>value - is the value to copy. Will typically be AbstractUiDataBinding.getOriginalValue().
Must NOT be modified in any way.null if NOT implemented or supported.Copyright © 2001–2016 mmm-Team. All rights reserved.