- Type Parameters:
E
- the type to support listening for
- All Known Implementing Classes:
AbstractProvidingProxyManager
,AbstractProxyManager
,ProxyAnalogIOManager
,ProxyIdTagManager
,ProxyLightManager
,ProxyMeterManager
,ProxyReporterManager
,ProxySensorManager
,ProxyStringIOManager
,ProxyTurnoutManager
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 Summary
Modifier and Type Method Description void
contentsChanged(Manager.ManagerDataEvent<E> e)
Sent when the contents of the list has changed in a way that's too complex to characterize with the previous methods.void
intervalAdded(Manager.ManagerDataEvent<E> e)
Sent after the indices in the index0,index1 interval have been inserted in the data model.void
intervalRemoved(Manager.ManagerDataEvent<E> e)
Sent after the indices in the index0,index1 interval have been removed from the data model.
-
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
-