public enum PrintOptimizationMode extends Enum<PrintOptimizationMode>
Enum Constant and Description |
---|
Quality
Optimize for quality.
|
Speed
Optimize for speed.
|
Modifier and Type | Method and Description |
---|---|
static PrintOptimizationMode |
fromInteger(int id)
Returns the associated PrintOptimizationMode from the specified integer value.
|
static PrintOptimizationMode |
fromString(String text)
Returns the PrintOptimizationMode enumeration for the specified text or null if no enumeration matches the specified text.
|
int |
getValue()
Returns the integer representation of the PrintOptimizationMode enumeration member.
|
static PrintOptimizationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrintOptimizationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintOptimizationMode Quality
public static final PrintOptimizationMode Speed
public static PrintOptimizationMode[] values()
for (PrintOptimizationMode c : PrintOptimizationMode.values()) System.out.println(c);
public static PrintOptimizationMode 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 nullpublic int getValue()
public static PrintOptimizationMode fromString(String text)
text
- text representation of the specified enumeration member.public static PrintOptimizationMode fromInteger(int id)
id
- enumeration integer representation.
© 2016 ZIH Corp. All Rights Reserved.