Enum ToolboxIcon
- java.lang.Object
-
- java.lang.Enum<ToolboxIcon>
-
- com.google.blocks.ftcrobotcontroller.util.ToolboxIcon
-
- All Implemented Interfaces:
Serializable
,Comparable<ToolboxIcon>
public enum ToolboxIcon extends Enum<ToolboxIcon>
An enum to represent a toolbox icon.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ToolboxIcon
valueOf(String name)
Returns the enum constant of this type with the specified name.static ToolboxIcon[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCELERATION_SENSOR
public static final ToolboxIcon ACCELERATION_SENSOR
-
ANALOG_INPUT
public static final ToolboxIcon ANALOG_INPUT
-
COLOR_SENSOR
public static final ToolboxIcon COLOR_SENSOR
-
COMPASS_SENSOR
public static final ToolboxIcon COMPASS_SENSOR
-
CR_SERVO
public static final ToolboxIcon CR_SERVO
-
DC_MOTOR
public static final ToolboxIcon DC_MOTOR
-
DIGITAL_CHANNEL
public static final ToolboxIcon DIGITAL_CHANNEL
-
ELAPSED_TIME
public static final ToolboxIcon ELAPSED_TIME
-
GAMEPAD
public static final ToolboxIcon GAMEPAD
-
GYRO_SENSOR
public static final ToolboxIcon GYRO_SENSOR
-
IR_SEEKER_SENSOR
public static final ToolboxIcon IR_SEEKER_SENSOR
-
LED
public static final ToolboxIcon LED
-
LIGHT_SENSOR
public static final ToolboxIcon LIGHT_SENSOR
-
LINEAR_OPMODE
public static final ToolboxIcon LINEAR_OPMODE
-
OPTICAL_DISTANCE_SENSOR
public static final ToolboxIcon OPTICAL_DISTANCE_SENSOR
-
SERVO
public static final ToolboxIcon SERVO
-
SERVO_CONTROLLER
public static final ToolboxIcon SERVO_CONTROLLER
-
TOUCH_SENSOR
public static final ToolboxIcon TOUCH_SENSOR
-
ULTRASONIC_SENSOR
public static final ToolboxIcon ULTRASONIC_SENSOR
-
VOLTAGE_SENSOR
public static final ToolboxIcon VOLTAGE_SENSOR
-
-
Field Detail
-
cssClass
public final String cssClass
-
-
Method Detail
-
values
public static ToolboxIcon[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ToolboxIcon c : ToolboxIcon.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ToolboxIcon valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-