|
||||||||||
| 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.WebMarkupContainerWithAssociatedMarkup
org.apache.wicket.markup.html.panel.Panel
org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable
org.apache.wicket.extensions.ajax.markup.html.repeater.data.table.AjaxFallbackDefaultDataTable
public class AjaxFallbackDefaultDataTable
An implementation of the DataTable that aims to solve the 90% usecase by adding navigation,
headers, an no-records-found toolbars to a standard DataTable.
The NavigationToolbar and the HeadersToolbar are added as top toolbars, while the
NoRecordsToolbar toolbar is added as a bottom toolbar.
DataTable,
HeadersToolbar,
NavigationToolbar,
NoRecordsToolbar,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.wicket.Component |
|---|
Component.ComponentModelChange, Component.EnabledChange, Component.IVisitor, Component.VisibilityChange |
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable |
|---|
TOOLBAR_COMPONENT_ID |
| Fields inherited from class org.apache.wicket.Component |
|---|
ENABLE, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED6, FLAG_RESERVED7, FLAG_RESERVED8, PATH_SEPARATOR, RENDER |
| Constructor Summary | |
|---|---|
AjaxFallbackDefaultDataTable(java.lang.String id,
IColumn[] columns,
ISortableDataProvider dataProvider,
int rowsPerPage)
Constructor |
|
AjaxFallbackDefaultDataTable(java.lang.String id,
java.util.List columns,
ISortableDataProvider dataProvider,
int rowsPerPage)
Constructor |
|
| Method Summary | |
|---|---|
protected Item |
newRowItem(java.lang.String id,
int index,
IModel model)
Factory method for Item container that represents a row in the underlying DataGridView |
| Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable |
|---|
addBottomToolbar, addTopToolbar, getColumns, getCurrentPage, getPageCount, getRowCount, getRowsPerPage, newCellItem, onDetach, onPageChanged, setCurrentPage, setItemReuseStrategy, setRowsPerPage |
| Methods inherited from class org.apache.wicket.markup.html.panel.Panel |
|---|
onComponentTag, onComponentTagBody, renderHead |
| Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainerWithAssociatedMarkup |
|---|
newHeaderPartContainer, renderHeadFromAssociatedMarkupFile |
| Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer |
|---|
getMarkupType, getWebPage |
| Methods inherited from class org.apache.wicket.MarkupContainer |
|---|
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, replace, setMarkupStream, setModel, size, toString, toString, visitChildren, visitChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AjaxFallbackDefaultDataTable(java.lang.String id,
java.util.List columns,
ISortableDataProvider dataProvider,
int rowsPerPage)
id - component idcolumns - list of columnsdataProvider - data providerrowsPerPage - number of rows per page
public AjaxFallbackDefaultDataTable(java.lang.String id,
IColumn[] columns,
ISortableDataProvider dataProvider,
int rowsPerPage)
id - component idcolumns - array of columnsdataProvider - data providerrowsPerPage - number of rows per page| Method Detail |
|---|
protected Item newRowItem(java.lang.String id,
int index,
IModel model)
DataTable
newRowItem in class DataTableid - component id for the new data itemindex - the index of the new data itemmodel - the model for the new data item.
Item
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||