Class DataGridFilterUrlQueryParametersBinder
java.lang.Object
io.jmix.flowui.facet.urlqueryparameters.AbstractUrlQueryParametersBinder
io.jmix.flowui.facet.urlqueryparameters.DataGridFilterUrlQueryParametersBinder
- All Implemented Interfaces:
UrlQueryParametersFacet.Binder
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected FilterUrlQueryParametersSupport
protected com.vaadin.flow.component.grid.Grid<?>
static final String
protected String
protected RouteSupport
protected UrlParamSerializer
Fields inherited from class io.jmix.flowui.facet.urlqueryparameters.AbstractUrlQueryParametersBinder
id
-
Constructor Summary
ConstructorDescriptionDataGridFilterUrlQueryParametersBinder
(com.vaadin.flow.component.grid.Grid<?> grid, UrlParamSerializer urlParamSerializer, org.springframework.context.ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyPropertyFilterParameters
(List<String> params) protected void
com.vaadin.flow.component.Component
protected void
initComponent
(com.vaadin.flow.component.grid.Grid<?> grid) protected String
serializePropertyFilter
(PropertyFilter<?> propertyFilter) void
setParameter
(String parameter) protected void
setupColumn
(DataGridColumn<?> column) protected void
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:
-
grid
protected com.vaadin.flow.component.grid.Grid<?> grid -
parameter
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
urlParamSerializer
-
filterUrlQueryParametersSupport
-
routeSupport
-
-
Constructor Details
-
Method Details
-
autowireDependencies
protected void autowireDependencies() -
initComponent
protected void initComponent(com.vaadin.flow.component.grid.Grid<?> grid) -
setupColumn
-
updateQueryParameters
protected void updateQueryParameters() -
serializePropertyFilter
-
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
-
applyPropertyFilterParameters
-
getParameter
-
setParameter
-
getComponent
@Nullable public com.vaadin.flow.component.Component getComponent()- Specified by:
getComponent
in classAbstractUrlQueryParametersBinder
-