|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwicket.model.AbstractDetachableModel
wicket.markup.html.list.ListItemModel
public class ListItemModel
Model for list items.
| Constructor Summary | |
|---|---|
ListItemModel(ListView listView,
int index)
Construct |
|
| Method Summary | |
|---|---|
IModel |
getNestedModel()
Gets the nested model. |
protected void |
onAttach()
Attaches to the current request. |
protected void |
onDetach()
Detaches from the current request. |
protected java.lang.Object |
onGetObject(Component component)
Called when getObject is called in order to retrieve the detachable object. |
protected void |
onSetObject(Component component,
java.lang.Object object)
Called when setObject is called in order to change the detachable object. |
| Methods inherited from class wicket.model.AbstractDetachableModel |
|---|
attach, detach, getObject, isAttached, setObject, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ListItemModel(ListView listView,
int index)
listView - The ListViewindex - The index of this model| Method Detail |
|---|
public IModel getNestedModel()
IModel
getNestedModel in interface IModelgetNestedModel in class AbstractDetachableModelIModel.getNestedModel()protected void onAttach()
AbstractDetachableModel
onAttach in class AbstractDetachableModelAbstractDetachableModel.onAttach()protected void onDetach()
AbstractDetachableModel
onDetach in class AbstractDetachableModelAbstractDetachableModel.onDetach()protected java.lang.Object onGetObject(Component component)
AbstractDetachableModel
onGetObject in class AbstractDetachableModelcomponent - The component asking for the object
AbstractDetachableModel.onGetObject(wicket.Component)
protected void onSetObject(Component component,
java.lang.Object object)
AbstractDetachableModel
onSetObject in class AbstractDetachableModelcomponent - The component asking for replacement of the model objectobject - The new model objectAbstractDetachableModel.onSetObject(wicket.Component,
java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||