Package io.jmix.flowui.facet
Interface QueryParametersFacet.Binder
- All Known Implementing Classes:
AbstractQueryParametersBinder
,GenericFilterQueryParametersBinder
,PaginationQueryParametersBinder
,PropertyFilterQueryParametersBinder
- Enclosing interface:
- QueryParametersFacet
public static interface QueryParametersFacet.Binder
An interface to be implemented by an object that binds UI component with query parameters.
-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.Registration
addQueryParametersChangeListener
(Consumer<QueryParametersFacet.QueryParametersChangeEvent> listener) AddsQueryParametersFacet.QueryParametersChangeEvent
listener.getId()
void
Sets the query parameters binder id.void
updateState
(com.vaadin.flow.router.QueryParameters queryParameters) Informs query parameters binder that view query parameters has been changed.
-
Method Details
-
getId
- Returns:
- the query parameters binder id
-
setId
Sets the query parameters binder id.- Parameters:
id
- id to set
-
updateState
void updateState(com.vaadin.flow.router.QueryParameters queryParameters) Informs query parameters binder that view query parameters has been changed.- Parameters:
queryParameters
- a view query parameters
-
addQueryParametersChangeListener
com.vaadin.flow.shared.Registration addQueryParametersChangeListener(Consumer<QueryParametersFacet.QueryParametersChangeEvent> listener) AddsQueryParametersFacet.QueryParametersChangeEvent
listener.- Parameters:
listener
- the listener to add, notnull
- Returns:
- a registration object that can be used for removing the listener.
-