Package io.jmix.flowui.facet.settings
Interface ViewSettingsComponentRegistry
- All Known Implementing Classes:
ViewSettingsComponentRegistryImpl
public interface ViewSettingsComponentRegistry
Provides information for which component registered settings class.
-
Method Summary
Modifier and TypeMethodDescriptiongetSettingsBinder
(Class<? extends com.vaadin.flow.component.Component> componentClass) getSettingsClass
(Class<? extends com.vaadin.flow.component.Component> componentClass) boolean
isSettingsRegisteredFor
(Class<? extends com.vaadin.flow.component.Component> componentClass)
-
Method Details
-
getSettingsClass
Class<? extends Settings> getSettingsClass(Class<? extends com.vaadin.flow.component.Component> componentClass) - Parameters:
componentClass
- component class (e.g.JmixDetails
)- Returns:
- component settings class
- Throws:
IllegalStateException
- if there is no component settings class registered for the component class
-
getSettingsBinder
ComponentSettingsBinder<?,?> getSettingsBinder(Class<? extends com.vaadin.flow.component.Component> componentClass) - Parameters:
componentClass
- component class (e.g.JmixDetails
)- Returns:
- settings binder
- Throws:
IllegalStateException
- if there is no component settings binder registered for the component class
-
isSettingsRegisteredFor
boolean isSettingsRegisteredFor(Class<? extends com.vaadin.flow.component.Component> componentClass) - Parameters:
componentClass
- component class (e.g.JmixDetails
)- Returns:
true
if settings is registered for the component class
-