Package io.jmix.flowui.facet.impl
Class UrlQueryParametersFacetImpl
java.lang.Object
io.jmix.flowui.facet.impl.AbstractFacet
io.jmix.flowui.facet.impl.UrlQueryParametersFacetImpl
- All Implemented Interfaces:
Facet
,UrlQueryParametersFacet
,HasSubParts
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.facet.UrlQueryParametersFacet
UrlQueryParametersFacet.Binder, UrlQueryParametersFacet.UrlQueryParametersChangeEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<UrlQueryParametersFacet.Binder>
protected com.vaadin.flow.shared.Registration
protected com.vaadin.flow.router.QueryParameters
protected boolean
protected com.vaadin.flow.shared.Registration
protected com.vaadin.flow.shared.Registration
protected final RouteSupport
Fields inherited from class io.jmix.flowui.facet.impl.AbstractFacet
id, owner
Fields inherited from interface io.jmix.flowui.facet.UrlQueryParametersFacet
NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSubPart
(String name) Returns a sub part object by its name.protected void
protected void
onPostReady
(View.PostReadyEvent event) protected void
protected void
protected String
queryParametersString
(com.vaadin.flow.router.QueryParameters queryParameters) void
Register a new query parameters binder.void
Methods inherited from class io.jmix.flowui.facet.impl.AbstractFacet
getId, getOwner, setId
-
Field Details
-
routeSupport
-
binders
-
queryParametersChangeRegistration
protected com.vaadin.flow.shared.Registration queryParametersChangeRegistration -
initialComponentsStateRegistration
protected com.vaadin.flow.shared.Registration initialComponentsStateRegistration -
postReadyRegistration
protected com.vaadin.flow.shared.Registration postReadyRegistration -
initialQueryParameters
protected com.vaadin.flow.router.QueryParameters initialQueryParameters -
ownerReady
protected boolean ownerReady
-
-
Constructor Details
-
Method Details
-
setOwner
- Specified by:
setOwner
in interfaceFacet
- Overrides:
setOwner
in classAbstractFacet
-
onViewQueryParametersChanged
-
onRestoreInitialComponentsState
-
onPostReady
-
registerBinder
Description copied from interface:UrlQueryParametersFacet
Register a new query parameters binder.- Specified by:
registerBinder
in interfaceUrlQueryParametersFacet
- Parameters:
binder
- a binder instance to register
-
onComponentQueryParametersChanged
protected void onComponentQueryParametersChanged(UrlQueryParametersFacet.UrlQueryParametersChangeEvent event) -
getBinders
- Specified by:
getBinders
in interfaceUrlQueryParametersFacet
- Returns:
- a list of registered query parameter binders
-
getSubPart
Description copied from interface:HasSubParts
Returns a sub part object by its name.- Specified by:
getSubPart
in interfaceHasSubParts
- Parameters:
name
- sub part name, e.g. component id- Returns:
- a sub part object by its name, or
null
if not found
-
queryParametersString
protected String queryParametersString(@Nullable com.vaadin.flow.router.QueryParameters queryParameters)
-