public class DisplayOnlyPropertyBinding<T> extends Object implements IModelBinding
| Constructor and Description |
|---|
DisplayOnlyPropertyBinding(IReadOnlyModel<?> model,
PropertyMetaModel<T> propertyMeta,
IDisplayControl<T> control) |
| Modifier and Type | Method and Description |
|---|---|
IDisplayControl<T> |
getControl() |
IReadOnlyModel<?> |
getModel() |
PropertyMetaModel<T> |
getPropertyMeta() |
void |
moveControlToModel() |
void |
moveModelToControl() |
void |
setControlsEnabled(boolean on) |
public DisplayOnlyPropertyBinding(IReadOnlyModel<?> model, PropertyMetaModel<T> propertyMeta, IDisplayControl<T> control)
public IDisplayControl<T> getControl()
public PropertyMetaModel<T> getPropertyMeta()
public IReadOnlyModel<?> getModel()
public void moveControlToModel()
throws Exception
moveControlToModel in interface IModelBindingExceptionpublic void moveModelToControl()
throws Exception
moveModelToControl in interface IModelBindingExceptionpublic void setControlsEnabled(boolean on)
setControlsEnabled in interface IModelBindingCopyright © 2017 etc.to. All rights reserved.