public static enum libfreenectLibrary.freenect_led_options extends Enum<libfreenectLibrary.freenect_led_options> implements org.bridj.ValuedEnum<libfreenectLibrary.freenect_led_options>
Enum Constant and Description |
---|
LED_BLINK_GREEN |
LED_BLINK_RED_YELLOW |
LED_GREEN |
LED_OFF |
LED_RED |
LED_YELLOW |
Modifier and Type | Field and Description |
---|---|
long |
value |
Modifier and Type | Method and Description |
---|---|
static org.bridj.ValuedEnum<libfreenectLibrary.freenect_led_options> |
fromValue(int value) |
Iterator<libfreenectLibrary.freenect_led_options> |
iterator() |
long |
value() |
static libfreenectLibrary.freenect_led_options |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static libfreenectLibrary.freenect_led_options[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
forEach, spliterator
public static final libfreenectLibrary.freenect_led_options LED_OFF
public static final libfreenectLibrary.freenect_led_options LED_GREEN
public static final libfreenectLibrary.freenect_led_options LED_RED
public static final libfreenectLibrary.freenect_led_options LED_YELLOW
public static final libfreenectLibrary.freenect_led_options LED_BLINK_GREEN
public static final libfreenectLibrary.freenect_led_options LED_BLINK_RED_YELLOW
public final long value
public static libfreenectLibrary.freenect_led_options[] values()
for (libfreenectLibrary.freenect_led_options c : libfreenectLibrary.freenect_led_options.values()) System.out.println(c);
public static libfreenectLibrary.freenect_led_options valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic long value()
value
in interface org.bridj.ValuedEnum<libfreenectLibrary.freenect_led_options>
public Iterator<libfreenectLibrary.freenect_led_options> iterator()
iterator
in interface Iterable<libfreenectLibrary.freenect_led_options>
public static org.bridj.ValuedEnum<libfreenectLibrary.freenect_led_options> fromValue(int value)