public interface RowsCount extends Component.BelongToFrame, Component.HasXmlDescriptor
CollectionDatasource
to load data by pages. Usually used inside Table
.Modifier and Type | Interface and Description |
---|---|
static class |
RowsCount.BeforeRefreshEvent |
static interface |
RowsCount.BeforeRefreshListener
A listener to be notified before refreshing the datasource when the user clicks next, previous, etc.
|
static class |
RowsCount.State |
Component.ActionOwner, Component.ActionsHolder, Component.Alignment, Component.BelongToFrame, Component.Buffered, Component.ChildEditableController, Component.Collapsable, Component.Container, Component.ContextHelpIconClickEvent, Component.Disposable, Component.Editable, Component.EditableChangeEvent, Component.EditableChangeListener, Component.EditableChangeNotifier, Component.ExpandedStateChangeEvent, Component.ExpandedStateChangeListener, Component.Focusable, Component.HasBorder, Component.HasButtonsPanel, Component.HasCaption, Component.HasContextHelp, Component.HasFormatter, Component.HasIcon, Component.HasInputPrompt, Component.HasNamedComponents, Component.HasOptionsStyleProvider, Component.HasPresentations, Component.HasRowsCount, Component.HasSettings, Component.HasValue, Component.HasXmlDescriptor, Component.LayoutClickEvent, Component.LayoutClickListener, Component.LayoutClickNotifier, Component.Margin, Component.MouseEventDetails, Component.OptionsStyleProvider, Component.OrderedContainer, Component.OuterMargin, Component.SecuredActionsHolder, Component.ShortcutAction, Component.ShortcutNotifier, Component.ShortcutTriggeredEvent, Component.Spacing, Component.UiPermissionAware, Component.Validatable, Component.ValueChangeEvent, Component.ValueChangeListener, Component.Wrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
AUTO_SIZE, AUTO_SIZE_PX, UNITS_PERCENTAGE, UNITS_PIXELS
Modifier and Type | Method and Description |
---|---|
void |
addBeforeRefreshListener(RowsCount.BeforeRefreshListener listener)
Adds a
RowsCount.BeforeRefreshListener . |
CollectionDatasource |
getDatasource() |
ListComponent |
getOwner() |
void |
removeBeforeRefreshListener(RowsCount.BeforeRefreshListener listener) |
void |
setDatasource(CollectionDatasource datasource) |
void |
setOwner(ListComponent owner) |
getFrame, setFrame
addStyleName, getAlignment, getDebugId, getHeight, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthUnits, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setDebugId, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition
getXmlDescriptor, setXmlDescriptor
static final java.lang.String NAME
CollectionDatasource getDatasource()
void setDatasource(CollectionDatasource datasource)
ListComponent getOwner()
Table
. Can be null.void setOwner(ListComponent owner)
void addBeforeRefreshListener(RowsCount.BeforeRefreshListener listener)
RowsCount.BeforeRefreshListener
.void removeBeforeRefreshListener(RowsCount.BeforeRefreshListener listener)