public enum PaperSizeEnum extends java.lang.Enum<PaperSizeEnum> implements NamedEnum
Enum Constant and Description |
---|
A3
Specifies the A3 paper size.
|
A4
Specifies the A4 paper size.
|
A5
Specifies the A5 paper size.
|
ENVELOPE_DL
Specifies the DL Envelope paper size.
|
EXECUTIVE
Specifies the Executive paper size.
|
LEGAL
Specifies the Legal paper size.
|
LETTER
Specifies the Letter paper size.
|
UNDEFINED
Specifies an undefined paper size.
|
Modifier and Type | Method and Description |
---|---|
static PaperSizeEnum |
getByName(java.lang.String name) |
int |
getHeight() |
java.lang.String |
getName() |
byte |
getOoxmlValue() |
int |
getWidth() |
static PaperSizeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaperSizeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaperSizeEnum UNDEFINED
public static final PaperSizeEnum LETTER
public static final PaperSizeEnum LEGAL
public static final PaperSizeEnum EXECUTIVE
public static final PaperSizeEnum A3
public static final PaperSizeEnum A4
public static final PaperSizeEnum A5
public static final PaperSizeEnum ENVELOPE_DL
public static PaperSizeEnum[] values()
for (PaperSizeEnum c : PaperSizeEnum.values()) System.out.println(c);
public static PaperSizeEnum 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 final byte getOoxmlValue()
public final int getWidth()
public final int getHeight()
public static PaperSizeEnum getByName(java.lang.String name)
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com