Class ThunderAutoSendableChooser.ChooserSelection

java.lang.Object
com.thunder.lib.auto.ThunderAutoSendableChooser.ChooserSelection
Enclosing class:
ThunderAutoSendableChooser

public static class ThunderAutoSendableChooser.ChooserSelection extends Object
Represents the current selection in the chooser.
  • Field Details

    • type

      The type of item selected
    • projectName

      public final String projectName
      The name of the project the selected item belongs to (only for auto modes and trajectories)
    • itemName

      public final String 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 selected
      projectName - The name of the project the selected item belongs to
      itemName - The name of the selected item