public class SimpleComponentPropertyBinding<T> extends ComponentPropertyBinding<T,T> implements IModelBinding
| Constructor and Description |
|---|
SimpleComponentPropertyBinding(IReadOnlyModel<?> model,
PropertyMetaModel<T> propertyMeta,
IControl<T> control) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
convertControlToValue(T zheValue)
Convert the control's value of type C to a data value of type T.
|
protected T |
convertValueToControl(T zheValue)
Convert the data value of type T to the control value of type C.
|
getControl, getModel, getPropertyMeta, moveControlToModel, moveModelToControl, setControlsEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmoveControlToModel, moveModelToControl, setControlsEnabledpublic SimpleComponentPropertyBinding(IReadOnlyModel<?> model, PropertyMetaModel<T> propertyMeta, IControl<T> control)
protected T convertControlToValue(@Nullable T zheValue) throws Exception
ComponentPropertyBindingconvertControlToValue in class ComponentPropertyBinding<T,T>Exception@Nullable protected T convertValueToControl(@Nullable T zheValue) throws Exception
ComponentPropertyBindingconvertValueToControl in class ComponentPropertyBinding<T,T>ExceptionCopyright © 2017 etc.to. All rights reserved.