public static enum RobotPOC.DisplayScreen extends java.lang.Enum<RobotPOC.DisplayScreen>
Enum Constant and Description |
---|
BAROMETER_ALTITUDE
Displays the altitude, calculated from the barometer.
|
BAROMETER_PRESSURE
Displays the pressure, given by the barometer.
|
BAROMETER_TEMPERATURE
Displays the temperature, given by the barometer.
|
IP_ADDRESS
Displays the main ip address.
|
TEMPERATURE
Displays the temperature, given by the thermistor.
|
UNKNOWN
Unknown screen.
|
Modifier and Type | Method and Description |
---|---|
static RobotPOC.DisplayScreen |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RobotPOC.DisplayScreen[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RobotPOC.DisplayScreen IP_ADDRESS
public static final RobotPOC.DisplayScreen TEMPERATURE
public static final RobotPOC.DisplayScreen BAROMETER_TEMPERATURE
public static final RobotPOC.DisplayScreen BAROMETER_PRESSURE
public static final RobotPOC.DisplayScreen BAROMETER_ALTITUDE
public static final RobotPOC.DisplayScreen UNKNOWN
public static RobotPOC.DisplayScreen[] values()
for (RobotPOC.DisplayScreen c : RobotPOC.DisplayScreen.values()) System.out.println(c);
public static RobotPOC.DisplayScreen valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null