T
- The Model objectpublic class ComponentPropertyModel<T> extends AbstractReadOnlyModel<T> implements IComponentAssignedModel<T>
Constructor and Description |
---|
ComponentPropertyModel(String propertyName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
T |
getObject()
Gets the model object.
|
IWrapModel<T> |
wrapOnAssignment(Component component)
This method is called when the component gets its model assigned.
|
detach, setObject, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
detach
public ComponentPropertyModel(String propertyName)
propertyName
- The name of the property to referencepublic T getObject()
IModel
getObject
in interface IModel<T>
getObject
in class AbstractReadOnlyModel<T>
AbstractReadOnlyModel.getObject()
public IWrapModel<T> wrapOnAssignment(Component component)
IComponentAssignedModel
wrapOnAssignment
in interface IComponentAssignedModel<T>
IComponentAssignedModel.wrapOnAssignment(org.apache.wicket.Component)
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.