T
- The Model objectpublic class ComponentPropertyModel<T> extends Object implements IComponentAssignedModel<T>
Constructor and Description |
---|
ComponentPropertyModel(String propertyName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
T |
getObject()
Gets the model object.
|
void |
setObject(T object)
Sets the model object.
|
IWrapModel<T> |
wrapOnAssignment(Component component)
This method is called when the component gets its model assigned.
|
public ComponentPropertyModel(String propertyName)
propertyName
- The name of the property to referencepublic final void setObject(T object)
IModel
public IWrapModel<T> wrapOnAssignment(Component component)
IComponentAssignedModel
wrapOnAssignment
in interface IComponentAssignedModel<T>
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.