Annotation Type Preference
-
@Retention(RUNTIME) @Target(FIELD) public @interface Preference
Indicates that a field is set through the robot's preferences.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
persistent
Whether the value should be persisted between code restarts.String
value
Label for the entry on the SmartDashboard/Shuffleboard.
-
-
-
Element Detail
-
value
String value
Label for the entry on the SmartDashboard/Shuffleboard.- Returns:
- the SmartDashboard/Shuffleboard label.
- Default:
- ""
-
-