Interface FunctionListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
FunctionPanel, LearnFunctionPanel

public interface FunctionListener extends EventListener
A Listener for a function state change.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    notifyFunctionLockableChanged(int functionNumber, boolean isLockable)
    Get notification that a function's lockable status has changed.
    void
    notifyFunctionStateChanged(int functionNumber, boolean isOn)
    Receive notification that a function has changed state.
  • Method Details

    • notifyFunctionStateChanged

      void notifyFunctionStateChanged(int functionNumber, boolean isOn)
      Receive notification that a function has changed state.
      Parameters:
      functionNumber - The id of the function
      isOn - True if the function is activated, false otherwise.
    • notifyFunctionLockableChanged

      void notifyFunctionLockableChanged(int functionNumber, boolean isLockable)
      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).