public enum ResolutionMode extends Enum<ResolutionMode>
| Enum Constant and Description |
|---|
USE_DEVICE
Native resolution of the output device.
|
USE_SOURCE
DPI specified by the source document.
|
USE_SPECIFIED_DPI
Resolution specified by the user code.
|
| Modifier and Type | Method and Description |
|---|---|
static ResolutionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResolutionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResolutionMode USE_DEVICE
public static final ResolutionMode USE_SOURCE
public static final ResolutionMode USE_SPECIFIED_DPI
public static ResolutionMode[] values()
for (ResolutionMode c : ResolutionMode.values()) System.out.println(c);
public static ResolutionMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null