public class UIPagedTable extends UITableBase implements Pager.PagedComponent
UITableBase.ComponentTuplecom.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandlercom.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListenercom.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Modifier and Type | Field and Description |
|---|---|
protected com.vaadin.ui.Component |
pager
Pager component associated with the table
|
dataDataset| Constructor and Description |
|---|
UIPagedTable(UIComponentData componentData) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearContent()
Should remove old data from the data container.
|
protected com.vaadin.ui.Component |
createPager(int pageSize,
String componentIdPrefix)
Creates pager for the table, which is providing user with capability
to navigate through table pages.
|
protected AbstractDatasetVaadinAdapter |
getDatasetAdapter() |
protected void |
refreshInt() |
boolean |
refreshPageData(int pageIndex,
int pageSize)
Will be called when the current page or page size is changed from the pager.
|
protected void |
updatePager(int pageIndex,
int dataCount)
Refreshes the pager component for this table
|
addDynamicColumn, applyColumnHints, applyHint, attach, clearData, createTableColumn, createTableComponent, generateCell, getColumn, getColumns, getComponentData, getCurrentData, getFilterable, getFilterComponentForColumn, getItemId, getRefreshedComponents, getScope, getShownRecords, getStyle, getTable, getUnformattedHeaderCaption, getWidget, headerClick, initChildren, isDataDataset, isInferFilteringDisabled, newDataset, onLoad, onLoad, onResetFilters, onTableSort, refresh, registerChildren, showPerformanceWarnings, toString, unapplyHint, unregisterChildren, updateContextForaddComponent, addComponent, addComponentAsFirst, addLayoutClickListener, addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getCustomAttributes, getDefaultComponentAlignment, getExpandRatio, getMargin, getState, isSpacing, iterator, readDesign, removeComponent, removeLayoutClickListener, removeListener, replaceComponent, setComponentAlignment, setDefaultComponentAlignment, setExpandRatio, setMargin, setMargin, setSpacing, writeDesignaddComponentAttachListener, addComponentDetachListener, addComponents, addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, removeListener, removeListener, setHeight, setWidthaddContextClickListener, addListener, addShortcutListener, addStyleName, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getExplicitImmediateValue, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidthUndefinedaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResourceclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetComponentData, getWidget, refreshaddComponents, addListener, addListener, getComponentIterator, moveComponentsFrom, removeAllComponents, removeListener, removeListeneraddListener, addStyleName, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisibleaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlergetHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefinedforEach, spliteratorprotected com.vaadin.ui.Component pager
public UIPagedTable(UIComponentData componentData)
componentData - protected void clearContent()
UITableBaseclearContent in class UITableBaseprotected void refreshInt()
refreshInt in class UITableBasepublic boolean refreshPageData(int pageIndex,
int pageSize)
Pager.PagedComponentPager.update(int, int) within its implementation.refreshPageData in interface Pager.PagedComponentpageIndex - the page to display, zero based.pageSize - number of items to show in the page.protected com.vaadin.ui.Component createPager(int pageSize,
String componentIdPrefix)
pageSize - componentIdPrefix - protected void updatePager(int pageIndex,
int dataCount)
pageIndex - dataCount - protected AbstractDatasetVaadinAdapter getDatasetAdapter()
getDatasetAdapter in class UITableBaseCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.