RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
org.wpilib.opmode.Teleop Interface Reference

Public Member Functions

String name () default ""
String group () default ""
String description () default ""
String textColor () default ""
String backgroundColor () default ""

Detailed Description

Annotation for automatic registration of teleoperated opmode classes.

Definition at line 17 of file Teleop.java.

Member Function Documentation

◆ backgroundColor()

String org.wpilib.opmode.Teleop.backgroundColor ( )

Text background color. Optional. Supports all formats supported by org.wpilib.util.Color#fromString(String).

Returns
Text background color

◆ description()

String org.wpilib.opmode.Teleop.description ( )

Extended description. Optional.

Returns
Description

◆ group()

String org.wpilib.opmode.Teleop.group ( )

Group. All opmodes with the same group are grouped together for selection. If not specified, defaults to ungrouped.

Returns
Group

◆ name()

String org.wpilib.opmode.Teleop.name ( )

Name. This is shown as the selection name in the Driver Station, and must be unique across all teleoperated opmodes in the project. If not specified, defaults to the name of the class.

Returns
Name

◆ textColor()

String org.wpilib.opmode.Teleop.textColor ( )

Text color. Optional. Supports all formats supported by org.wpilib.util.Color#fromString(String).

Returns
Text color

The documentation for this interface was generated from the following file: