public enum Orientation extends java.lang.Enum<Orientation> implements org.bridj.IntValuedEnum<Orientation>
| Enum Constant and Description |
|---|
PAGE_DOWN |
PAGE_LEFT |
PAGE_RIGHT |
PAGE_UP |
| Modifier and Type | Field and Description |
|---|---|
long |
value |
| Modifier and Type | Method and Description |
|---|---|
static org.bridj.IntValuedEnum<Orientation> |
fromValue(int value) |
java.util.Iterator<Orientation> |
iterator() |
long |
value() |
static Orientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Orientation PAGE_UP
public static final Orientation PAGE_RIGHT
public static final Orientation PAGE_DOWN
public static final Orientation PAGE_LEFT
public static Orientation[] values()
for (Orientation c : Orientation.values()) System.out.println(c);
public static Orientation 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 nullpublic long value()
value in interface org.bridj.ValuedEnum<Orientation>public java.util.Iterator<Orientation> iterator()
iterator in interface java.lang.Iterable<Orientation>public static org.bridj.IntValuedEnum<Orientation> fromValue(int value)