|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.model.ChainingModel<T>
T
- The Model object typepublic class ChainingModel<T>
Default implementation of IChainingModel
CompoundPropertyModel
,
AbstractPropertyModel
,
Serialized FormConstructor Summary | |
---|---|
ChainingModel(Object modelObject)
|
Method Summary | |
---|---|
void |
detach()
Unsets this property model's instance variables and detaches the model. |
IModel<?> |
getChainedModel()
Returns the chained model if there is a chained model. |
T |
getObject()
Gets the model object. |
protected Object |
getTarget()
|
void |
setChainedModel(IModel<?> model)
Sets the model that is chained inside this model. |
void |
setObject(T object)
Sets the model object. |
protected ChainingModel<T> |
setTarget(Object modelObject)
Sets a new target - object or model |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChainingModel(Object modelObject)
Method Detail |
---|
public void detach()
detach
in interface IDetachable
IDetachable.detach()
public void setObject(T object)
IModel
setObject
in interface IModel<T>
object
- The model objectIModel.setObject(java.lang.Object)
public T getObject()
IModel
getObject
in interface IModel<T>
IModel.getObject()
public IModel<?> getChainedModel()
IChainingModel
getChainedModel
in interface IChainingModel<T>
IChainingModel.getChainedModel()
public void setChainedModel(IModel<?> model)
IChainingModel
setChainedModel
in interface IChainingModel<T>
IChainingModel.setChainedModel(org.apache.wicket.model.IModel)
protected final Object getTarget()
protected final ChainingModel<T> setTarget(Object modelObject)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |