|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.Component
org.apache.wicket.MarkupContainer
org.apache.wicket.markup.html.WebMarkupContainer
org.apache.wicket.markup.html.list.AbstractItem
org.apache.wicket.markup.html.list.LoopItem
public class LoopItem
A very simple Item. Usually it is used as based class for more advanced Items.
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.Component |
|---|
ENABLE, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER |
| Constructor Summary | |
|---|---|
LoopItem(int index)
Constructor |
|
LoopItem(int index,
IModel<?> model)
A constructor which uses the index and the list provided to create a ListItem. |
|
LoopItem(String id,
int index)
Constructor |
|
LoopItem(String id,
int index,
IModel<?> model)
Constructor |
|
| Method Summary | |
|---|---|
int |
getIndex()
Gets the index of the listItem in the parent listView. |
void |
setIndex(int index)
Sets the index of this item |
| Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer |
|---|
getWebPage, getWebRequest |
| Methods inherited from class org.apache.wicket.MarkupContainer |
|---|
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, hasAssociatedMarkup, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onMarkupAttached, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LoopItem(int index)
index - The index of the item
public LoopItem(int index,
IModel<?> model)
index - The index of the itemmodel - The model object of the item
public LoopItem(String id,
int index,
IModel<?> model)
id - component idindex - relative index of this item in the pageable viewmodel - model for this item
public LoopItem(String id,
int index)
id - component idindex - relative index of this item in the pageable view| Method Detail |
|---|
public final int getIndex()
public final void setIndex(int index)
index - new index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||