Package jmri

Interface Manager.ManagerDataListener<E extends NamedBean>

Type Parameters:
E - the type to support listening for
All Known Implementing Classes:
AbstractProvidingProxyManager, AbstractProxyManager, ProxyAnalogIOManager, ProxyIdTagManager, ProxyLightManager, ProxyMeterManager, ProxyReporterManager, ProxySensorManager, ProxyStringIOManager, ProxyTurnoutManager
Enclosing interface:
Manager<E extends NamedBean>

public static interface Manager.ManagerDataListener<E extends NamedBean>
Intended to be equivalent to ListDataListener without introducing a Swing dependency into core JMRI.
Since:
JMRI 4.11.4 - for use in DataModel code
  • Method Details

    • contentsChanged

      Sent when the contents of the list has changed in a way that's too complex to characterize with the previous methods.
      Parameters:
      e - encapsulates event information
    • intervalAdded

      Sent after the indices in the index0,index1 interval have been inserted in the data model.
      Parameters:
      e - encapsulates the event information
    • intervalRemoved

      Sent after the indices in the index0,index1 interval have been removed from the data model.
      Parameters:
      e - encapsulates the event information