Pagination
instead@Deprecated
public interface RowsCount
extends io.jmix.ui.component.Component.BelongToFrame
Datasource
.Modifier and Type | Interface and Description |
---|---|
static class |
RowsCount.BeforeRefreshEvent
Deprecated.
Event that is fired before refreshing the datasource when the user clicks next, previous, etc.
|
static interface |
RowsCount.BeforeRefreshListener
Deprecated.
Use
Consumer with RowsCount.BeforeRefreshEvent instead. |
static interface |
RowsCount.RowsCountTarget
Deprecated.
|
static class |
RowsCount.State
Deprecated.
|
io.jmix.ui.component.Component.Alignment, io.jmix.ui.component.Component.BelongToFrame, io.jmix.ui.component.Component.Disposable, io.jmix.ui.component.Component.Editable, io.jmix.ui.component.Component.Focusable, io.jmix.ui.component.Component.HasCaption, io.jmix.ui.component.Component.HasDescription, io.jmix.ui.component.Component.HasIcon, io.jmix.ui.component.Component.HasXmlDescriptor, io.jmix.ui.component.Component.Wrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addBeforeRefreshListener(java.util.function.Consumer<RowsCount.BeforeRefreshEvent> listener)
Deprecated.
|
boolean |
getAutoLoad()
Deprecated.
|
CollectionDatasource |
getDatasource()
Deprecated.
assign
RowsCount.RowsCountTarget instead. |
io.jmix.ui.component.ListComponent |
getOwner()
Deprecated.
|
RowsCount.RowsCountTarget |
getRowsCountTarget()
Deprecated.
|
java.util.function.Function<io.jmix.core.DataLoadContext,java.lang.Long> |
getTotalCountDelegate()
Deprecated.
|
void |
removeBeforeRefreshListener(java.util.function.Consumer<RowsCount.BeforeRefreshEvent> listener)
Deprecated.
|
void |
setAutoLoad(boolean autoLoad)
Deprecated.
Sets whether rows count should be loaded automatically.
|
void |
setDatasource(CollectionDatasource datasource)
Deprecated.
assign
RowsCount.RowsCountTarget instead. |
void |
setOwner(io.jmix.ui.component.ListComponent owner)
Deprecated.
Use
setRowsCountTarget(RowsCount.RowsCountTarget) instead. |
void |
setRowsCountTarget(RowsCount.RowsCountTarget target)
Deprecated.
|
void |
setTotalCountDelegate(java.util.function.Function<io.jmix.core.DataLoadContext,java.lang.Long> delegate)
Deprecated.
Sets delegate which is used to get the total number of rows when user clicks "total count" or "last page".
|
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
static final java.lang.String NAME
@Deprecated CollectionDatasource getDatasource()
RowsCount.RowsCountTarget
instead.@Deprecated void setDatasource(CollectionDatasource datasource)
RowsCount.RowsCountTarget
instead.boolean getAutoLoad()
void setAutoLoad(boolean autoLoad)
autoLoad
- pass true to enable auto load, or false otherwise@Deprecated @Nullable io.jmix.ui.component.ListComponent getOwner()
Table
. Can be null.@Deprecated void setOwner(@Nullable io.jmix.ui.component.ListComponent owner)
setRowsCountTarget(RowsCount.RowsCountTarget)
instead.RowsCount.RowsCountTarget getRowsCountTarget()
Table
. Can be null.void setRowsCountTarget(RowsCount.RowsCountTarget target)
java.util.function.Function<io.jmix.core.DataLoadContext,java.lang.Long> getTotalCountDelegate()
void setTotalCountDelegate(java.util.function.Function<io.jmix.core.DataLoadContext,java.lang.Long> delegate)
void addBeforeRefreshListener(java.util.function.Consumer<RowsCount.BeforeRefreshEvent> listener)
void removeBeforeRefreshListener(java.util.function.Consumer<RowsCount.BeforeRefreshEvent> listener)