|
||||||||||
| 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
public class BoundCompoundPropertyModel
A compound property model that supports type conversions and property 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 propertyExpression)
Adds a property binding. |
Component |
bind(Component component,
java.lang.String propertyExpression,
java.lang.Class type)
Adds a property and type conversion binding. |
protected void |
onDetach()
Unsets this property model's instance variables and detaches the model. |
protected java.lang.String |
propertyExpression(Component component)
|
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 propertyExpression)
component - The component to bindpropertyExpression - A property 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 propertyExpression,
java.lang.Class type)
component - The component to bindpropertyExpression - A property 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 propertyExpression(Component component)
propertyExpression in class CompoundPropertyModelcomponent - The component to get a property expression for
AbstractPropertyModel.propertyExpression(wicket.Component)protected java.lang.Class propertyType(Component component)
propertyType in class CompoundPropertyModelcomponent - The component
AbstractPropertyModel.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 | |||||||||