Annotation Interface Utility
Annotation for automatic registration of utility opmode classes.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionText background color.Extended description.Group.Name.Text color.
-
Element Details
-
name
String nameName. This is shown as the selection name in the Driver Station, and must be unique across all utility opmodes in the project. If not specified, defaults to the name of the class.- Returns:
- Name
- Default:
""
-
group
String groupGroup. All opmodes with the same group are grouped together for selection. If not specified, defaults to ungrouped.- Returns:
- Group
- Default:
""
-
description
-
textColor
String textColorText color. Optional. Supports all formats supported byColor.fromString(String).- Returns:
- Text color
- Default:
""
-
backgroundColor
String backgroundColorText background color. Optional. Supports all formats supported byColor.fromString(String).- Returns:
- Text background color
- Default:
""
-