Package jmri.jmrit.throttle
Interface AddressListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
BackgroundPanel,ControlPanel,FunctionPanel,LearnControlPanel,LearnFunctionPanel,SpeedPanel,ThrottleFrame
Interface for classes that wish to get notification that a new decoder
address has been selected.
-
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyAddressChosen(LocoAddress address) Receive notification that a new address has been selected.voidnotifyAddressReleased(LocoAddress address) Receive notification that an address has been released/dispatchedvoidnotifyAddressThrottleFound(DccThrottle throttle) Receive notification that a throttle has been foundvoidnotifyConsistAddressChosen(LocoAddress address) Receive notification that a new Consist address has been selected.voidnotifyConsistAddressReleased(LocoAddress address) Receive notification that a consist address has been released/dispatched.voidnotifyConsistAddressThrottleFound(DccThrottle throttle) Receive notification that a throttle has been found
-
Method Details
-
notifyAddressChosen
Receive notification that a new address has been selected.- Parameters:
address- The address that is now selected.
-
notifyAddressReleased
Receive notification that an address has been released/dispatched- Parameters:
address- The address released/dispatched
-
notifyAddressThrottleFound
Receive notification that a throttle has been found- Parameters:
throttle- The throttle
-
notifyConsistAddressChosen
Receive notification that a new Consist address has been selected.- Parameters:
address- The address that is now selected.
-
notifyConsistAddressReleased
Receive notification that a consist address has been released/dispatched.- Parameters:
address- The address that is now selected.
-
notifyConsistAddressThrottleFound
Receive notification that a throttle has been found- Parameters:
throttle- The throttle
-