Package org.chsrobotics.lib.telemetry
Interface DashboardChooser.ValueUpdater<T>
- Enclosing class:
DashboardChooser<T>
public static interface DashboardChooser.ValueUpdater<T>
Interface which defines a lambda for receiving DashboardChooser updates.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonOptionSelected(T oldOption, T newOption) Called when a new option has been selected in the dashboard
-
Method Details
-
onOptionSelected
Called when a new option has been selected in the dashboard- Parameters:
oldOption- The previous optionnewOption- The selected option
-