Enum ValueType
- java.lang.Object
-
- java.lang.Enum<ValueType>
-
- berlin.yuna.tinkerforgesensor.model.ValueType
-
- All Implemented Interfaces:
Serializable,Comparable<ValueType>
public enum ValueType extends Enum<ValueType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainsTypecontains()booleancontains(ValueType... types)ValueTypegetParent()IsTypeis()booleanis(ValueType... types)static ValueTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ValueType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final ValueType ALL
-
DUMMY
public static final ValueType DUMMY
-
PING
public static final ValueType PING
-
DEVICE_STATUS
public static final ValueType DEVICE_STATUS
-
DEVICE_CONNECTED
public static final ValueType DEVICE_CONNECTED
-
DEVICE_RECONNECTED
public static final ValueType DEVICE_RECONNECTED
-
DEVICE_DISCONNECTED
public static final ValueType DEVICE_DISCONNECTED
-
DEVICE_TIMEOUT
public static final ValueType DEVICE_TIMEOUT
-
DEVICE_UNKNOWN
public static final ValueType DEVICE_UNKNOWN
-
EMERGENCY_SHUTDOWN
public static final ValueType EMERGENCY_SHUTDOWN
-
DEVICE_SEARCH
public static final ValueType DEVICE_SEARCH
-
DEVICE_ALREADY_CONNECTED
public static final ValueType DEVICE_ALREADY_CONNECTED
-
ENVIRONMENT
public static final ValueType ENVIRONMENT
-
AIR_PRESSURE
public static final ValueType AIR_PRESSURE
-
IAQ_INDEX
public static final ValueType IAQ_INDEX
-
HUMIDITY
public static final ValueType HUMIDITY
-
TEMPERATURE
public static final ValueType TEMPERATURE
-
ALTITUDE
public static final ValueType ALTITUDE
-
TILT
public static final ValueType TILT
-
MOTION_DETECTED
public static final ValueType MOTION_DETECTED
-
DISTANCE
public static final ValueType DISTANCE
-
SOUND
public static final ValueType SOUND
-
SOUND_SPECTRUM
public static final ValueType SOUND_SPECTRUM
-
SOUND_INTENSITY
public static final ValueType SOUND_INTENSITY
-
SOUND_DECIBEL
public static final ValueType SOUND_DECIBEL
-
BEEP
public static final ValueType BEEP
-
BEEP_ACTIVE
public static final ValueType BEEP_ACTIVE
-
BEEP_FINISH
public static final ValueType BEEP_FINISH
-
LIGHT
public static final ValueType LIGHT
-
LIGHT_UV
public static final ValueType LIGHT_UV
-
LIGHT_UVA
public static final ValueType LIGHT_UVA
-
LIGHT_UVB
public static final ValueType LIGHT_UVB
-
LIGHT_LUX
public static final ValueType LIGHT_LUX
-
COLOR
public static final ValueType COLOR
-
COLOR_R
public static final ValueType COLOR_R
-
COLOR_G
public static final ValueType COLOR_G
-
COLOR_B
public static final ValueType COLOR_B
-
COLOR_C
public static final ValueType COLOR_C
-
COLOR_RGB
public static final ValueType COLOR_RGB
-
COLOR_LUX
public static final ValueType COLOR_LUX
-
COLOR_TEMPERATURE
public static final ValueType COLOR_TEMPERATURE
-
ORIENTATION
public static final ValueType ORIENTATION
-
CALIBRATION
public static final ValueType CALIBRATION
-
ORIENTATION_HEADING
public static final ValueType ORIENTATION_HEADING
-
ORIENTATION_ROLL
public static final ValueType ORIENTATION_ROLL
-
ORIENTATION_PITCH
public static final ValueType ORIENTATION_PITCH
-
ACCELERATION
public static final ValueType ACCELERATION
-
ACCELERATION_X
public static final ValueType ACCELERATION_X
-
ACCELERATION_Y
public static final ValueType ACCELERATION_Y
-
ACCELERATION_Z
public static final ValueType ACCELERATION_Z
-
LINEAR_ACCELERATION_X
public static final ValueType LINEAR_ACCELERATION_X
-
LINEAR_ACCELERATION_Y
public static final ValueType LINEAR_ACCELERATION_Y
-
LINEAR_ACCELERATION_Z
public static final ValueType LINEAR_ACCELERATION_Z
-
MAGNET
public static final ValueType MAGNET
-
MAGNET_DENSITY
public static final ValueType MAGNET_DENSITY
-
MAGNET_COUNTER
public static final ValueType MAGNET_COUNTER
-
MAGNET_HEADING
public static final ValueType MAGNET_HEADING
-
MAGNETIC_X
public static final ValueType MAGNETIC_X
-
MAGNETIC_Y
public static final ValueType MAGNETIC_Y
-
MAGNETIC_Z
public static final ValueType MAGNETIC_Z
-
ANGULAR_VELOCITY
public static final ValueType ANGULAR_VELOCITY
-
ANGULAR_VELOCITY_X
public static final ValueType ANGULAR_VELOCITY_X
-
ANGULAR_VELOCITY_Y
public static final ValueType ANGULAR_VELOCITY_Y
-
ANGULAR_VELOCITY_Z
public static final ValueType ANGULAR_VELOCITY_Z
-
EULER_ANGLE
public static final ValueType EULER_ANGLE
-
EULER_ANGLE_X
public static final ValueType EULER_ANGLE_X
-
EULER_ANGLE_Y
public static final ValueType EULER_ANGLE_Y
-
EULER_ANGLE_Z
public static final ValueType EULER_ANGLE_Z
-
QUATERNION
public static final ValueType QUATERNION
-
QUATERNION_W
public static final ValueType QUATERNION_W
-
QUATERNION_X
public static final ValueType QUATERNION_X
-
QUATERNION_Y
public static final ValueType QUATERNION_Y
-
QUATERNION_Z
public static final ValueType QUATERNION_Z
-
GRAVITY
public static final ValueType GRAVITY
-
GRAVITY_VECTOR_X
public static final ValueType GRAVITY_VECTOR_X
-
GRAVITY_VECTOR_Y
public static final ValueType GRAVITY_VECTOR_Y
-
GRAVITY_VECTOR_Z
public static final ValueType GRAVITY_VECTOR_Z
-
POWER
public static final ValueType POWER
-
ENERGY
public static final ValueType ENERGY
-
VOLTAGE_USB
public static final ValueType VOLTAGE_USB
-
VOLTAGE
public static final ValueType VOLTAGE
-
UNDER_VOLTAGE
public static final ValueType UNDER_VOLTAGE
-
CURRENT
public static final ValueType CURRENT
-
BUTTON
public static final ValueType BUTTON
-
BUTTON_TOUCH
public static final ValueType BUTTON_TOUCH
-
BUTTON_PRESSED
public static final ValueType BUTTON_PRESSED
-
BUTTON_RELEASED
public static final ValueType BUTTON_RELEASED
-
ROTARY
public static final ValueType ROTARY
-
PERCENTAGE
public static final ValueType PERCENTAGE
-
MOTOR
public static final ValueType MOTOR
-
MOTOR_POSITION
public static final ValueType MOTOR_POSITION
-
MOTOR_VELOCITY
public static final ValueType MOTOR_VELOCITY
-
HUMAN_INPUT
public static final ValueType HUMAN_INPUT
-
KEY_INPUT
public static final ValueType KEY_INPUT
-
KEY_PRESSED
public static final ValueType KEY_PRESSED
-
KEY_RELEASED
public static final ValueType KEY_RELEASED
-
KEY_CHAR
public static final ValueType KEY_CHAR
-
CURSOR_INPUT
public static final ValueType CURSOR_INPUT
-
CURSOR_CLICK_COUNT
public static final ValueType CURSOR_CLICK_COUNT
-
CURSOR_PRESSED
public static final ValueType CURSOR_PRESSED
-
CURSOR_RELEASED
public static final ValueType CURSOR_RELEASED
-
CURSOR_ENTERED
public static final ValueType CURSOR_ENTERED
-
CURSOR_EXITED
public static final ValueType CURSOR_EXITED
-
CURSOR_DRAGGED
public static final ValueType CURSOR_DRAGGED
-
CURSOR_MOVED
public static final ValueType CURSOR_MOVED
-
CURSOR_MOVE_X
public static final ValueType CURSOR_MOVE_X
-
CURSOR_MOVE_Y
public static final ValueType CURSOR_MOVE_Y
-
CURSOR_WHEEL_MOVED
public static final ValueType CURSOR_WHEEL_MOVED
-
-
Field Detail
-
parent
public final ValueType parent
-
-
Method Detail
-
values
public static ValueType[] 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 (ValueType c : ValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValueType 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
-
getParent
public ValueType getParent()
-
contains
public ContainsType contains()
-
contains
public boolean contains(ValueType... types)
-
is
public IsType is()
-
is
public boolean is(ValueType... types)
-
-