Class SettingsFacet.SettingsContext<S extends UiComponentSettings<S>>

java.lang.Object
io.jmix.flowui.facet.SettingsFacet.SettingsContext<S>
Enclosing interface:
SettingsFacet<S extends UiComponentSettings<S>>

public static class SettingsFacet.SettingsContext<S extends UiComponentSettings<S>> extends Object
Provides information about a source component and components that facet should manage.
  • Field Details

    • source

      protected com.vaadin.flow.component.Component source
    • components

      protected Collection<com.vaadin.flow.component.Component> components
    • settings

      protected S extends UiComponentSettings<S> 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

      public Collection<com.vaadin.flow.component.Component> getComponents()
      Returns:
      components that should be managed by facet
    • getViewSettings

      @Deprecated(since="2.8", forRemoval=true) public ViewSettings getViewSettings()
      Deprecated, for removal: This API element is subject to removal in a future version.
      use getSettings() instead
      Returns:
      View settings
    • getSettings

      public S getSettings()
      Returns:
      component settings