Class DSGamepadChooser.GamepadSelectable

java.lang.Object
org.wpilib.driverstation.DSGamepadChooser.GamepadSelectable
Enclosing class:
DSGamepadChooser

public static final class DSGamepadChooser.GamepadSelectable extends Object
A single named set of selectable options.
  • Method Details

    • getName

      public String getName()
      Gets the selectable name.
      Returns:
      selectable name
    • getOptions

      public List<String> getOptions()
      Gets the available options.
      Returns:
      available options
    • getSelected

      public String getSelected()
      Gets the currently selected option.
      Returns:
      the currently selected option
    • getSelectedIndex

      public int getSelectedIndex()
      Gets the currently selected option index.
      Returns:
      the currently selected option index