public enum OrientationEnum extends java.lang.Enum<OrientationEnum> implements JREnum
Enum Constant and Description |
---|
LANDSCAPE
Specifies a landscape orientation.
|
PORTRAIT
Specifies a portrait orientation.
|
Modifier and Type | Method and Description |
---|---|
static OrientationEnum |
getByName(java.lang.String name) |
static OrientationEnum |
getByValue(byte value) |
static OrientationEnum |
getByValue(java.lang.Byte value) |
java.lang.String |
getName() |
byte |
getValue() |
java.lang.Byte |
getValueByte() |
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 PORTRAIT
public static final OrientationEnum LANDSCAPE
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.Byte getValueByte()
getValueByte
in interface JREnum
public static OrientationEnum getByName(java.lang.String name)
public static OrientationEnum getByValue(java.lang.Byte value)
public static OrientationEnum getByValue(byte value)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com