Class DSGamepadChooser.GamepadSelectable
java.lang.Object
org.wpilib.driverstation.DSGamepadChooser.GamepadSelectable
- Enclosing class:
DSGamepadChooser
A single named set of selectable options.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the selectable name.Gets the available options.Gets the currently selected option.intGets the currently selected option index.
-
Method Details
-
getName
-
getOptions
-
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
-