Package io.jmix.flowui.facet
Class SettingsFacet.SettingsContext<S extends UiComponentSettings<S>>
java.lang.Object
io.jmix.flowui.facet.SettingsFacet.SettingsContext<S>
- Enclosing interface:
- SettingsFacet<S extends UiComponentSettings<S>>
Provides information about a source component and components that facet should manage.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Collection<com.vaadin.flow.component.Component>protected Sprotected com.vaadin.flow.component.Component -
Constructor Summary
ConstructorsConstructorDescriptionSettingsContext(com.vaadin.flow.component.Component source, Collection<com.vaadin.flow.component.Component> components, S settings) -
Method Summary
Modifier and TypeMethodDescriptionCollection<com.vaadin.flow.component.Component>com.vaadin.flow.component.ComponentDeprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
source
protected com.vaadin.flow.component.Component source -
components
-
settings
-
-
Constructor Details
-
SettingsContext
public SettingsContext(com.vaadin.flow.component.Component source, Collection<com.vaadin.flow.component.Component> components, S settings)
-
-
Method Details
-
getSource
public com.vaadin.flow.component.Component getSource()- Returns:
- the source component, e.g.
View
-
getComponents
- Returns:
- components that should be managed by facet
-
getViewSettings
Deprecated, for removal: This API element is subject to removal in a future version.usegetSettings()instead- Returns:
Viewsettings
-
getSettings
- Returns:
- component settings
-
getSettings()instead