- Type Parameters:
T- The Model object
- All Implemented Interfaces:
public class ComponentPropertyModel<T> extends Object implements IComponentAssignedModel<T>A model that references a property by name on the current model of the component it is bound to. This enables direct usage of inherited models such as compound property models.
- Jonathan Locke
- See Also:
- Serialized Form
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
getObject()Gets the model object.
setObject(T object)Sets the model object.
wrapOnAssignment(Component component)This method is called when the component gets its model assigned.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getObjectDescription copied from interface:
IModelGets the model object.
setObjectDescription copied from interface:
IModelSets the model object.
public IWrapModel<T> wrapOnAssignment(Component component)Description copied from interface:
IComponentAssignedModelThis method is called when the component gets its model assigned. WARNING: Because the model can be assigned in the constructor of component this method can also be called with a 'this' of a component that is not fully constructed yet.