|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.model.AbstractDetachableModel
wicket.model.AbstractPropertyModel
wicket.model.CompoundPropertyModel
wicket.model.BoundCompoundPropertyModel
A compound property model that supports type conversions and OGNL expression bindings.
| Constructor Summary | |
BoundCompoundPropertyModel(java.lang.Object model)
Constructor |
|
| Method Summary | |
Component |
bind(Component component,
java.lang.Class type)
Adds a type conversion binding. |
Component |
bind(Component component,
java.lang.String ognlExpression)
Adds a property binding. |
Component |
bind(Component component,
java.lang.String ognlExpression,
java.lang.Class type)
Adds a property and type conversion binding. |
protected java.lang.String |
ognlExpression(Component component)
|
protected void |
onDetach()
Unsets this property model's instance variables and detaches the model. |
protected java.lang.Class |
propertyType(Component component)
|
java.lang.String |
toString()
|
| Methods inherited from class wicket.model.AbstractPropertyModel |
getNestedModel, modelObject, onAttach, onGetObject, onSetObject |
| Methods inherited from class wicket.model.AbstractDetachableModel |
attach, detach, getObject, isAttached, setObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface wicket.model.IModel |
getNestedModel, getObject, setObject |
| Methods inherited from interface wicket.model.IDetachable |
detach |
| Constructor Detail |
public BoundCompoundPropertyModel(java.lang.Object model)
model - The model object, which may or may not implement IModel| Method Detail |
public Component bind(Component component,
java.lang.String ognlExpression)
component - The component to bindognlExpression - An OGNL expression pointing to the property in this model
public Component bind(Component component,
java.lang.Class type)
component - The component to bindtype - The type of the property
public Component bind(Component component,
java.lang.String ognlExpression,
java.lang.Class type)
component - The component to bindognlExpression - An OGNL expression pointing to the property in this modeltype - The type of the property
protected void onDetach()
AbstractPropertyModel
onDetach in class AbstractPropertyModelAbstractPropertyModel.onDetach()protected java.lang.String ognlExpression(Component component)
ognlExpression in class CompoundPropertyModelAbstractPropertyModel.ognlExpression(wicket.Component)protected java.lang.Class propertyType(Component component)
propertyType in class CompoundPropertyModelAbstractPropertyModel.propertyType(wicket.Component)public java.lang.String toString()
toString in class CompoundPropertyModelAbstractDetachableModel.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||