Interface ComponentSettingsRegistry

All Known Implementing Classes:
ComponentSettingsRegistryImpl

public interface ComponentSettingsRegistry
Provides information for which component registered settings class.
  • Method Details

    • getSettingsClass

      Class<? extends ComponentSettings> getSettingsClass(Class<? extends Component> componentClass)
      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

      ComponentSettingsBinder getSettingsBinder(Class<? extends Component> componentClass)
      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

      boolean isSettingsRegisteredFor(Class<? extends Component> componentClass)
      Parameters:
      componentClass - component class (e.g. TableImpl)
      Returns:
      true if settings is registered for the component class