Package com.thunder.lib.auto
Class ThunderAutoSendableChooser.ChooserSelection
java.lang.Object
com.thunder.lib.auto.ThunderAutoSendableChooser.ChooserSelection
- Enclosing class:
- ThunderAutoSendableChooser
Represents the current selection in the chooser.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhat type of item is selected -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for no selectionChooserSelection(ThunderAutoSendableChooser.ChooserSelection.Type type, String projectName, String itemName) Constructor -
Method Summary
-
Field Details
-
type
The type of item selected -
projectName
The name of the project the selected item belongs to (only for auto modes and trajectories) -
itemName
The name of the selected item
-
-
Constructor Details
-
ChooserSelection
public ChooserSelection()Default constructor for no selection -
ChooserSelection
public ChooserSelection(ThunderAutoSendableChooser.ChooserSelection.Type type, String projectName, String itemName) Constructor- Parameters:
type- The type of item selectedprojectName- The name of the project the selected item belongs toitemName- The name of the selected item
-