public enum OrientationEnum extends java.lang.Enum<OrientationEnum> implements NamedValueEnum<java.lang.Integer>
| Modifier and Type | Method and Description |
|---|---|
static OrientationEnum |
getByName(java.lang.String name) |
static OrientationEnum |
getByValue(java.lang.Integer value) |
java.lang.String |
getName() |
java.lang.Integer |
getValue() |
static OrientationEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrientationEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrientationEnum UP
public static final OrientationEnum LEFT
public static final OrientationEnum DOWN
public static final OrientationEnum RIGHT
public static OrientationEnum[] values()
for (OrientationEnum c : OrientationEnum.values()) System.out.println(c);
public static OrientationEnum 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 java.lang.Integer getValue()
getValue in interface NamedValueEnum<java.lang.Integer>public static OrientationEnum getByName(java.lang.String name)
public static OrientationEnum getByValue(java.lang.Integer value)
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com