Modifier and Type | Method and Description |
---|---|
protected Item<T> |
AjaxFallbackDefaultDataTable.newRowItem(String id,
int index,
IModel<T> model) |
Modifier and Type | Method and Description |
---|---|
protected Item<ICellPopulator<T>> |
AbstractDataGridView.newCellItem(String id,
int index,
IModel<ICellPopulator<T>> model)
Factory method for Item container that represents a cell.
|
protected Item<T> |
AbstractDataGridView.newItem(String id,
int index,
IModel<T> model) |
protected Item<T> |
AbstractDataGridView.newRowItem(String id,
int index,
IModel<T> model)
Factory method for Item container that represents a row.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertyPopulator.populateItem(Item<ICellPopulator<T>> cellItem,
String componentId,
IModel<T> rowModel) |
void |
ICellPopulator.populateItem(Item<ICellPopulator<T>> cellItem,
String componentId,
IModel<T> rowModel)
Method used to populate a cell in the
DataGridView
Implementation MUST add a component to the cellItem using the component id provided by
componentId argument, otherwise a WicketRuntimeException will be thrown |
protected void |
AbstractDataGridView.populateItem(Item<T> item) |
Modifier and Type | Method and Description |
---|---|
protected Item<IColumn<T,S>> |
DataTable.newCellItem(String id,
int index,
IModel<IColumn<T,S>> model)
Factory method for Item container that represents a cell in the underlying DataGridView
|
protected Item<T> |
DataTable.newRowItem(String id,
int index,
IModel<T> model)
Factory method for Item container that represents a row in the underlying DataGridView
|
protected Item<T> |
DefaultDataTable.newRowItem(String id,
int index,
IModel<T> model) |
Modifier and Type | Method and Description |
---|---|
void |
PropertyColumn.populateItem(Item<ICellPopulator<T>> item,
String componentId,
IModel<T> rowModel)
Implementation of populateItem which adds a label to the cell whose model is the provided
property expression evaluated against rowModelObject
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractExportableColumn.populateItem(Item<ICellPopulator<T>> cellItem,
String componentId,
IModel<T> rowModel)
Populated the data for this column in the row into the
cellItem . |
Modifier and Type | Method and Description |
---|---|
protected Item<T> |
DefaultTableTree.newRowItem(String id,
int index,
IModel<T> node)
Creates an
OddEvenItem . |
protected Item<T> |
TableTree.newRowItem(String id,
int index,
IModel<T> model)
Create a row item for the nested
DataTable . |
Modifier and Type | Class and Description |
---|---|
class |
BranchItem<T>
A branch is a container for a single node and its children inside a
Subtree . |
Modifier and Type | Method and Description |
---|---|
void |
TreeColumn.populateItem(Item<ICellPopulator<T>> cellItem,
String componentId,
IModel<T> rowModel) |
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–2021 Apache Software Foundation. All rights reserved.