|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 IModelMethod 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 IDetachable
detach
in class CompoundPropertyModel
CompoundPropertyModel.detach()
public java.lang.String toString()
toString
in class CompoundPropertyModel
Object.toString()
protected java.lang.String propertyExpression(Component component)
CompoundPropertyModel
propertyExpression
in class CompoundPropertyModel
CompoundPropertyModel.propertyExpression(org.apache.wicket.Component)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |