|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wicket.Component wicket.MarkupContainer wicket.markup.html.WebMarkupContainer wicket.markup.html.WebMarkupContainerWithAssociatedMarkup wicket.markup.html.panel.Panel wicket.extensions.markup.html.repeater.data.table.DataTable wicket.extensions.markup.html.repeater.data.table.DefaultDataTable
public class DefaultDataTable
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 FormNested Class Summary |
---|
Nested classes/interfaces inherited from class wicket.markup.html.WebMarkupContainerWithAssociatedMarkup |
---|
wicket.markup.html.WebMarkupContainerWithAssociatedMarkup.HeaderPartContainer |
Nested classes/interfaces inherited from class wicket.Component |
---|
wicket.Component.ComponentModelChange, wicket.Component.EnabledChange, wicket.Component.IVisitor, wicket.Component.VisibilityChange |
Field Summary |
---|
Fields inherited from class wicket.extensions.markup.html.repeater.data.table.DataTable |
---|
TOOLBAR_COMPONENT_ID |
Fields inherited from class wicket.Component |
---|
ENABLE, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED6, FLAG_RESERVED7, FLAG_RESERVED8, PATH_SEPARATOR, RENDER |
Constructor Summary | |
---|---|
DefaultDataTable(java.lang.String id,
IColumn[] columns,
SortableDataProvider dataProvider,
int rowsPerPage)
Constructor |
|
DefaultDataTable(java.lang.String id,
java.util.List columns,
SortableDataProvider dataProvider,
int rowsPerPage)
Constructor |
Method Summary | |
---|---|
protected Item |
newRowItem(java.lang.String id,
int index,
wicket.model.IModel model)
Factory method for Item container that represents a row in the underlying DataGridView |
Methods inherited from class wicket.extensions.markup.html.repeater.data.table.DataTable |
---|
addBottomToolbar, addTopToolbar, getColumns, getCurrentPage, getPageCount, getRowCount, getRowsPerPage, newCellItem, onPageChanged, setCurrentPage, setItemReuseStrategy, setRowsPerPage |
Methods inherited from class wicket.markup.html.panel.Panel |
---|
onComponentTag, onComponentTagBody, renderHead |
Methods inherited from class wicket.markup.html.WebMarkupContainerWithAssociatedMarkup |
---|
newHeaderPartContainer, renderHeadFromAssociatedMarkupFile |
Methods inherited from class wicket.markup.html.WebMarkupContainer |
---|
getMarkupType, getWebPage |
Methods inherited from class wicket.MarkupContainer |
---|
add, autoAdd, contains, findMarkupStream, get, getAssociatedMarkupStream, getMarkupStream, internalAdd, internalAttach, internalDetach, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, replace, setMarkupStream, setModel, size, toString, toString, visitChildren, visitChildren |
Methods inherited from class wicket.Component |
---|
add, addStateChange, checkComponentTag, checkComponentTagAttribute, continueToOriginalDestination, debug, detachBehaviors, detachModel, detachModels, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getApplicationPages, getApplicationSettings, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMetaData, getModel, getModelComparator, getModelObject, getModelObjectAsString, getOutputMarkupId, getPage, getPageFactory, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isBehaviorAccepted, isEnableAllowed, isEnabled, isHeadRendered, isIgnoreAttributeModifier, isRenderAllowed, isVersioned, isVisible, isVisibleInHierarchy, modelChanged, modelChanging, newPage, newPage, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onDetach, onEndRequest, onModelChanged, onModelChanging, onRender, redirectToInterceptPage, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderedBehaviors, replaceComponentTagBody, replaceWith, resetHeadRendered, sameRootModel, sameRootModel, setAuto, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMetaData, setModelObject, setOutputMarkupId, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultDataTable(java.lang.String id, java.util.List columns, SortableDataProvider dataProvider, int rowsPerPage)
id
- component idcolumns
- list of columnsdataProvider
- data providerrowsPerPage
- number of rows per pagepublic DefaultDataTable(java.lang.String id, IColumn[] columns, SortableDataProvider dataProvider, int rowsPerPage)
id
- component idcolumns
- array of columnsdataProvider
- data providerrowsPerPage
- number of rows per pageMethod Detail |
---|
protected Item newRowItem(java.lang.String id, int index, wicket.model.IModel model)
DataTable
newRowItem
in class DataTable
id
- 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 |