|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.html.list.ListItemModel<T>
T
- Model object typepublic class ListItemModel<T>
Model for list items.
ListView
,
Serialized FormConstructor Summary | |
---|---|
ListItemModel(ListView<T> listView,
int index)
Construct |
Method Summary | |
---|---|
void |
detach()
Detaches model after use. |
T |
getObject()
Gets the model object. |
void |
setObject(T object)
Sets the model object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListItemModel(ListView<T> listView, int index)
listView
- The ListViewindex
- The index of this modelMethod Detail |
---|
public T getObject()
IModel
getObject
in interface IModel<T>
IModel.getObject()
public void setObject(T object)
IModel
setObject
in interface IModel<T>
object
- The model objectIModel.setObject(java.lang.Object)
public void detach()
IDetachable
detach
in interface IDetachable
IDetachable.detach()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |