Interface FrcButtonPanel.ButtonEventHandler

Enclosing class:
FrcButtonPanel

public static interface FrcButtonPanel.ButtonEventHandler
This interface, if provided, will allow this class to do a notification callback when there are button activities.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    buttonEvent(FrcButtonPanel.ButtonType buttonType, boolean pressed)
    This method is called when button event is detected.
  • Method Details

    • buttonEvent

      void buttonEvent(FrcButtonPanel.ButtonType buttonType, boolean pressed)
      This method is called when button event is detected.
      Parameters:
      buttonType - specifies the button type that generates the event.
      pressed - specifies true if the button is pressed, false otherwise.