| Package | Description |
|---|---|
| org.apache.wicket.markup.repeater | |
| org.apache.wicket.markup.repeater.data |
| Modifier and Type | Class and Description |
|---|---|
class |
OddEvenItem<T>
Item that sets class="even" or class="odd" attributes based on its index
|
| Modifier and Type | Method and Description |
|---|---|
Item<T> |
IItemFactory.newItem(int index,
IModel<T> model)
Factory method for instances of Item.
|
protected Item<T> |
RefreshingView.newItem(String id,
int index,
IModel<T> model)
Factory method for Item container.
|
| Modifier and Type | Method and Description |
|---|---|
static Comparator<Item<?>> |
Item.IndexComparator.getInstance() |
Iterator<Item<T>> |
RefreshingView.getItems() |
<T> Iterator<Item<T>> |
ReuseIfModelsEqualStrategy.getItems(IItemFactory<T> factory,
Iterator<IModel<T>> newModels,
Iterator<Item<T>> existingItems) |
<T> Iterator<Item<T>> |
IItemReuseStrategy.getItems(IItemFactory<T> factory,
Iterator<IModel<T>> newModels,
Iterator<Item<T>> existingItems)
Returns an iterator over items that will be added to the view.
|
<T> Iterator<Item<T>> |
DefaultItemReuseStrategy.getItems(IItemFactory<T> factory,
Iterator<IModel<T>> newModels,
Iterator<Item<T>> existingItems) |
| Modifier and Type | Method and Description |
|---|---|
int |
Item.IndexComparator.compare(Item<?> lhs,
Item<?> rhs) |
int |
Item.IndexComparator.compare(Item<?> lhs,
Item<?> rhs) |
protected abstract void |
RefreshingView.populateItem(Item<T> item)
Populate the given Item container.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
RefreshingView.addItems(Iterator<Item<T>> items)
Add items to the view.
|
<T> Iterator<Item<T>> |
ReuseIfModelsEqualStrategy.getItems(IItemFactory<T> factory,
Iterator<IModel<T>> newModels,
Iterator<Item<T>> existingItems) |
<T> Iterator<Item<T>> |
IItemReuseStrategy.getItems(IItemFactory<T> factory,
Iterator<IModel<T>> newModels,
Iterator<Item<T>> existingItems)
Returns an iterator over items that will be added to the view.
|
<T> Iterator<Item<T>> |
DefaultItemReuseStrategy.getItems(IItemFactory<T> factory,
Iterator<IModel<T>> newModels,
Iterator<Item<T>> existingItems) |
| Modifier and Type | Method and Description |
|---|---|
protected Item<T> |
GridView.newEmptyItem(String id,
int index)
Create a Item which represents an empty cell (there is no model for it in the DataProvider)
|
protected Item<?> |
GridView.newRowItem(String id,
int index)
Create a new Item which will hold a row.
|
Item<T> |
GridView.ItemsIterator.next() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Item<T>> |
GridView.getItems() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
GridView.populateEmptyItem(Item<T> item)
Add component to an Item for which there is no model anymore and is shown in a cell
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridView.addItems(Iterator<Item<T>> items) |
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.