Package jmri.jmrit.throttle
Interface AddressListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
BackgroundPanel,ControlPanel,FunctionPanel,LearnControlPanel,LearnFunctionPanel,SpeedPanel,ThrottleFrame
public interface AddressListener extends java.util.EventListener
Interface for classes that wish to get notification that a new decoder address has been selected.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifyAddressChosen(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 Detail
-
notifyAddressChosen
void notifyAddressChosen(LocoAddress address)
Receive notification that a new address has been selected.- Parameters:
address- The address that is now selected.
-
notifyAddressReleased
void notifyAddressReleased(LocoAddress address)
Receive notification that an address has been released/dispatched- Parameters:
address- The address released/dispatched
-
notifyAddressThrottleFound
void notifyAddressThrottleFound(DccThrottle throttle)
Receive notification that a throttle has been found- Parameters:
throttle- The throttle
-
notifyConsistAddressChosen
void notifyConsistAddressChosen(LocoAddress address)
Receive notification that a new Consist address has been selected.- Parameters:
address- The address that is now selected.
-
notifyConsistAddressReleased
void notifyConsistAddressReleased(LocoAddress address)
Receive notification that a consist address has been released/dispatched.- Parameters:
address- The address that is now selected.
-
notifyConsistAddressThrottleFound
void notifyConsistAddressThrottleFound(DccThrottle throttle)
Receive notification that a throttle has been found- Parameters:
throttle- The throttle
-
-