Enum PageSize
- java.lang.Object
-
- java.lang.Enum<PageSize>
-
- adams.flow.transformer.pdfproclet.PageSize
-
- All Implemented Interfaces:
Serializable,Comparable<PageSize>
public enum PageSize extends Enum<PageSize>
Enumeration of all possible page sizes.- Version:
- $Revision: 13474 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description A0A1A10A2A3A4A5A6A7A8A9ARCH_AARCH_BARCH_CARCH_DARCH_EB0B1B10B2B3B4B5B6B7B8B9CROWN_OCTAVOCROWN_QUARTODEMY_OCTAVODEMY_QUARTOEXECUTIVEFLSAFLSEHALFLETTERID_1ID_2ID_3LARGE_CROWN_OCTAVOLARGE_CROWN_QUARTOLEDGERLEGALLETTERNOTEPENGUIN_LARGE_PAPERBACKPENGUIN_SMALL_PAPERBACKPOSTCARDROYAL_OCTAVOROYAL_QUARTOSMALL_PAPERBACKTABLOID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PageSizevalueOf(String name)Returns the enum constant of this type with the specified name.static PageSize[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A0
public static final PageSize A0
-
A1
public static final PageSize A1
-
A10
public static final PageSize A10
-
A2
public static final PageSize A2
-
A3
public static final PageSize A3
-
A4
public static final PageSize A4
-
A5
public static final PageSize A5
-
A6
public static final PageSize A6
-
A7
public static final PageSize A7
-
A8
public static final PageSize A8
-
A9
public static final PageSize A9
-
ARCH_A
public static final PageSize ARCH_A
-
ARCH_B
public static final PageSize ARCH_B
-
ARCH_C
public static final PageSize ARCH_C
-
ARCH_D
public static final PageSize ARCH_D
-
ARCH_E
public static final PageSize ARCH_E
-
B0
public static final PageSize B0
-
B1
public static final PageSize B1
-
B10
public static final PageSize B10
-
B2
public static final PageSize B2
-
B3
public static final PageSize B3
-
B4
public static final PageSize B4
-
B5
public static final PageSize B5
-
B6
public static final PageSize B6
-
B7
public static final PageSize B7
-
B8
public static final PageSize B8
-
B9
public static final PageSize B9
-
CROWN_OCTAVO
public static final PageSize CROWN_OCTAVO
-
CROWN_QUARTO
public static final PageSize CROWN_QUARTO
-
DEMY_OCTAVO
public static final PageSize DEMY_OCTAVO
-
DEMY_QUARTO
public static final PageSize DEMY_QUARTO
-
EXECUTIVE
public static final PageSize EXECUTIVE
-
FLSA
public static final PageSize FLSA
-
FLSE
public static final PageSize FLSE
-
HALFLETTER
public static final PageSize HALFLETTER
-
ID_1
public static final PageSize ID_1
-
ID_2
public static final PageSize ID_2
-
ID_3
public static final PageSize ID_3
-
LARGE_CROWN_OCTAVO
public static final PageSize LARGE_CROWN_OCTAVO
-
LARGE_CROWN_QUARTO
public static final PageSize LARGE_CROWN_QUARTO
-
LEDGER
public static final PageSize LEDGER
-
LEGAL
public static final PageSize LEGAL
-
LETTER
public static final PageSize LETTER
-
NOTE
public static final PageSize NOTE
-
PENGUIN_LARGE_PAPERBACK
public static final PageSize PENGUIN_LARGE_PAPERBACK
-
PENGUIN_SMALL_PAPERBACK
public static final PageSize PENGUIN_SMALL_PAPERBACK
-
POSTCARD
public static final PageSize POSTCARD
-
ROYAL_OCTAVO
public static final PageSize ROYAL_OCTAVO
-
ROYAL_QUARTO
public static final PageSize ROYAL_QUARTO
-
SMALL_PAPERBACK
public static final PageSize SMALL_PAPERBACK
-
TABLOID
public static final PageSize TABLOID
-
-
Method Detail
-
values
public static PageSize[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PageSize c : PageSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PageSize valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-