Package io.jmix.flowui.facet.impl
Class ViewSettingsFacetImpl
java.lang.Object
io.jmix.flowui.facet.impl.AbstractFacet
io.jmix.flowui.facet.impl.AbstractSettingsFacet<ViewSettings>
io.jmix.flowui.facet.impl.ViewSettingsFacetImpl
- All Implemented Interfaces:
Facet,SettingsFacet<ViewSettings>,ViewSettingsFacet
public class ViewSettingsFacetImpl
extends AbstractSettingsFacet<ViewSettings>
implements ViewSettingsFacet
An implementation of the
SettingsFacet interfacet that provides functionality for managing
and applying settings related to View and their components.-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.facet.impl.AbstractSettingsFacet
AbstractSettingsFacet.OwnerEventListenerNested classes/interfaces inherited from interface io.jmix.flowui.facet.SettingsFacet
SettingsFacet.SettingsContext<S extends UiComponentSettings<S>> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AbstractSettingsFacet<ViewSettings>.OwnerEventListenerprotected AbstractSettingsFacet<ViewSettings>.OwnerEventListenerprotected AbstractSettingsFacet<ViewSettings>.OwnerEventListenerprotected AbstractSettingsFacet<ViewSettings>.OwnerEventListenerFields inherited from class io.jmix.flowui.facet.impl.AbstractSettingsFacet
applyDataLoadingSettingsDelegate, applySettingsDelegate, auto, componentIds, componentSettings, excludedComponentIds, reflectionCacheManager, saveSettingsDelegate, settingsHelper, settingsManager, userSettingsCache, viewQueryParametersFields inherited from class io.jmix.flowui.facet.impl.AbstractFacet
id, owner -
Constructor Summary
ConstructorsConstructorDescriptionViewSettingsFacetImpl(SettingsFacetUrlQueryParametersHelper settingsHelper, ReflectionCacheManager reflectionCacheManager, UserSettingsCache userSettingsCache, ComponentSettingsManager settingsManager, UserSettingsService userSettingsService) -
Method Summary
Modifier and TypeMethodDescriptionprotected ViewSettingscreateSettings(FacetOwner owner) protected HasFacetsprotected voidonQueryParametersChange(com.vaadin.flow.component.ComponentEvent<?> event) protected voidonViewBeforeShow(com.vaadin.flow.component.ComponentEvent<?> event) protected voidonViewDetach(com.vaadin.flow.component.ComponentEvent<?> event) protected voidonViewReady(com.vaadin.flow.component.ComponentEvent<?> event) protected voidprotected voidMethods inherited from class io.jmix.flowui.facet.impl.AbstractSettingsFacet
addComponentIds, addExcludedComponentIds, applyComponentSettings, applyDataLoadingComponentSettings, applyDataLoadingSettings, applySettings, checkAttachedToOwner, createSettingsContext, excludeUrlQueryParametersFacetComponents, getApplyDataLoadingSettingsDelegate, getApplySettingsDelegate, getComponentIds, getExcludedComponentIds, getManagedComponents, getManagedComponentsFromCollection, getOwnerComponent, getSaveSettingsDelegate, getSettings, initSettings, isAuto, isSettingsEnabled, saveComponentSettings, saveSettings, setApplyDataLoadingSettingsDelegate, setApplySettingsDelegate, setAuto, setOwner, setSaveSettingsDelegateMethods inherited from class io.jmix.flowui.facet.impl.AbstractFacet
getId, getOwner, setIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.flowui.facet.SettingsFacet
addComponentIds, addExcludedComponentIds, applyDataLoadingSettings, applySettings, getApplyDataLoadingSettingsDelegate, getApplySettingsDelegate, getComponentIds, getExcludedComponentIds, getManagedComponents, getSaveSettingsDelegate, getSettings, isAuto, saveSettings, setApplyDataLoadingSettingsDelegate, setApplySettingsDelegate, setAuto, setSaveSettingsDelegate
-
Field Details
-
beforeShowListener
-
readyListener
-
detachListener
-
queryParametersChangeListener
-
-
Constructor Details
-
ViewSettingsFacetImpl
public ViewSettingsFacetImpl(SettingsFacetUrlQueryParametersHelper settingsHelper, ReflectionCacheManager reflectionCacheManager, UserSettingsCache userSettingsCache, ComponentSettingsManager settingsManager, @Nullable UserSettingsService userSettingsService)
-
-
Method Details
-
createSettings
- Specified by:
createSettingsin classAbstractSettingsFacet<ViewSettings>
-
unsubscribeOwnerLifecycle
protected void unsubscribeOwnerLifecycle()- Specified by:
unsubscribeOwnerLifecyclein classAbstractSettingsFacet<ViewSettings>
-
subscribeOwnerLifecycle
protected void subscribeOwnerLifecycle()- Specified by:
subscribeOwnerLifecyclein classAbstractSettingsFacet<ViewSettings>
-
onViewBeforeShow
protected void onViewBeforeShow(com.vaadin.flow.component.ComponentEvent<?> event) -
onViewReady
protected void onViewReady(com.vaadin.flow.component.ComponentEvent<?> event) -
onViewDetach
protected void onViewDetach(com.vaadin.flow.component.ComponentEvent<?> event) -
onQueryParametersChange
protected void onQueryParametersChange(com.vaadin.flow.component.ComponentEvent<?> event) -
getFacets
- Specified by:
getFacetsin classAbstractSettingsFacet<ViewSettings>
-