public static enum PrintOptions.PageSize extends java.lang.Enum<PrintOptions.PageSize>
Enum Constant and Description |
---|
A0 |
A1 |
A2 |
A3 |
A4 |
A5 |
A6 |
LEGAL |
LETTER |
Modifier and Type | Method and Description |
---|---|
static PrintOptions.PageSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrintOptions.PageSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintOptions.PageSize LETTER
public static final PrintOptions.PageSize LEGAL
public static final PrintOptions.PageSize A0
public static final PrintOptions.PageSize A1
public static final PrintOptions.PageSize A2
public static final PrintOptions.PageSize A3
public static final PrintOptions.PageSize A4
public static final PrintOptions.PageSize A5
public static final PrintOptions.PageSize A6
public static PrintOptions.PageSize[] values()
for (PrintOptions.PageSize c : PrintOptions.PageSize.values()) System.out.println(c);
public static PrintOptions.PageSize 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 null