Class PaginationUrlQueryParametersBinder
java.lang.Object
io.jmix.flowui.facet.urlqueryparameters.AbstractUrlQueryParametersBinder
io.jmix.flowui.facet.urlqueryparameters.PaginationUrlQueryParametersBinder
- All Implemented Interfaces:
UrlQueryParametersFacet.Binder
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected String
static final String
protected String
static final String
protected PaginationComponent<?>
protected UrlParamSerializer
Fields inherited from class io.jmix.flowui.facet.urlqueryparameters.AbstractUrlQueryParametersBinder
id
-
Constructor Summary
ConstructorDescriptionPaginationUrlQueryParametersBinder
(PaginationComponent<?> pagination, UrlParamSerializer urlParamSerializer) -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.Component
protected Optional<PaginationDataLoader>
protected void
initComponent
(PaginationComponent<?> pagination) protected void
serializeQueryParameters
(PaginationDataLoader paginationLoader) void
setFirstResultParam
(String firstResultParam) void
setMaxResultsParam
(String maxResultsParam) void
updateState
(com.vaadin.flow.router.QueryParameters queryParameters) Informs query parameters binder that view query parameters has been changed.Methods inherited from class io.jmix.flowui.facet.urlqueryparameters.AbstractUrlQueryParametersBinder
addUrlQueryParametersChangeListener, fireQueryParametersChanged, getEventBus, getId, setId
-
Field Details
-
NAME
- See Also:
-
FIRST_RESULT_PARAM
- See Also:
-
MAX_RESULTS_PARAM
- See Also:
-
pagination
-
firstResultParam
-
maxResultsParam
-
urlParamSerializer
-
-
Constructor Details
-
Method Details
-
initComponent
-
onAfterRefresh
-
serializeQueryParameters
public com.google.common.collect.ImmutableMap<String,String> serializeQueryParameters(PaginationDataLoader paginationLoader) -
updateState
public void updateState(com.vaadin.flow.router.QueryParameters queryParameters) Description copied from interface:UrlQueryParametersFacet.Binder
Informs query parameters binder that view query parameters has been changed.- Parameters:
queryParameters
- a view query parameters
-
getFirstResultParam
-
setFirstResultParam
-
getMaxResultsParam
-
setMaxResultsParam
-
getPaginationLoader
-
getComponent
@Nullable public com.vaadin.flow.component.Component getComponent()- Specified by:
getComponent
in classAbstractUrlQueryParametersBinder
-