Annotation Interface TestOpMode


Annotation for automatic registration of test opmode classes.
  • Element Details

    • name

      Name. This is shown as the selection name in the Driver Station, and must be unique across all test opmodes in the project. If not specified, defaults to the name of the class.
      Returns:
      Name
      Default:
      ""
    • group

      Group. All opmodes with the same group are grouped together for selection. If not specified, defaults to ungrouped.
      Returns:
      Group
      Default:
      ""
    • description

      Extended description. Optional.
      Returns:
      Description
      Default:
      ""
    • textColor

      Text color. Optional. Supports all formats supported by Color.fromString(String).
      Returns:
      Text color
      Default:
      ""
    • backgroundColor

      Text background color. Optional. Supports all formats supported by Color.fromString(String).
      Returns:
      Text background color
      Default:
      ""