Package jmri

Interface AnalogIOManager

All Superinterfaces:
Manager<AnalogIO>, PropertyChangeProvider, SilenceablePropertyChangeProvider, VetoableChangeProvider
All Known Implementing Classes:
AbstractAnalogIOManager, InternalAnalogIOManager, ProxyAnalogIOManager

public interface AnalogIOManager
extends Manager<AnalogIO>
Interface for obtaining AnalogIOs.
  • Method Details

    • addBeanType

      default void addBeanType​(Class<? extends AnalogIO> clazz, Manager<? extends NamedBean> manager)
      Add a type of NamedBean, for example VariableLight, that should be also registred in AnalogIOManager.
      Parameters:
      clazz - the NamedBean class that should be registered in this manager
      manager - the manager that managers the NamedBeans of type clazz
    • removeBeanType

      default void removeBeanType​(Class<? extends AnalogIO> clazz, Manager<? extends NamedBean> manager)
      Remove a type of NamedBean, for example VariableLight, from beeing registred in AnalogIOManager.
      Parameters:
      clazz - the NamedBean class that should be registered in this manager
      manager - the manager that managers the NamedBeans of type clazz