|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.model.CompoundPropertyModel
org.apache.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)
Adds a property binding, using the component's id as the property expression. |
Component |
bind(Component component,
java.lang.String propertyExpression)
Adds a property binding. |
void |
detach()
Detaches model after use. |
protected java.lang.String |
propertyExpression(Component component)
Returns the property expression that should be used against the target object |
java.lang.String |
toString()
|
| Methods inherited from class org.apache.wicket.model.CompoundPropertyModel |
|---|
bind, getChainedModel, getObject, getObject, setChainedModel, setObject, setObject, wrapOnInheritance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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)
component - The component to bind
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 void detach()
IDetachable
detach in interface IDetachabledetach in class CompoundPropertyModelCompoundPropertyModel.detach()public java.lang.String toString()
toString in class CompoundPropertyModelObject.toString()protected java.lang.String propertyExpression(Component component)
CompoundPropertyModel
propertyExpression in class CompoundPropertyModelCompoundPropertyModel.propertyExpression(org.apache.wicket.Component)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||