Package io.jmix.ui.settings
Interface ComponentSettingsRegistry
- All Known Implementing Classes:
ComponentSettingsRegistryImpl
public interface ComponentSettingsRegistry
Provides information for which component registered settings class.
-
Method Summary
Modifier and TypeMethodDescriptiongetSettingsBinder
(Class<? extends Component> componentClass) Class<? extends ComponentSettings>
getSettingsClass
(Class<? extends Component> componentClass) boolean
isSettingsRegisteredFor
(Class<? extends Component> componentClass)
-
Method Details
-
getSettingsClass
- Parameters:
componentClass
- component class (e.g.TableImpl
)- Returns:
- component settings class
- Throws:
IllegalStateException
- if there is no component settings class registered for the component class
-
getSettingsBinder
- Parameters:
componentClass
- component class (e.g.TableImpl
)- Returns:
- settings binder
- Throws:
IllegalStateException
- if there is no component settings binder registered for the component class
-
isSettingsRegisteredFor
- Parameters:
componentClass
- component class (e.g.TableImpl
)- Returns:
- true if settings is registered for the component class
-