Package jmri.jmrit.throttle
Interface FunctionListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
FunctionPanel,LearnFunctionPanel
A Listener for a function state change.
-
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyFunctionLockableChanged(int functionNumber, boolean isLockable) Get notification that a function's lockable status has changed.voidnotifyFunctionStateChanged(int functionNumber, boolean isOn) Receive notification that a function has changed state.
-
Method Details
-
notifyFunctionStateChanged
Receive notification that a function has changed state.- Parameters:
functionNumber- The id of the functionisOn- True if the function is activated, false otherwise.
-
notifyFunctionLockableChanged
Get notification that a function's lockable status has changed.- Parameters:
functionNumber- The function that has changed (0-9).isLockable- True if the function is now Lockable (continuously active).
-