Package org.daisy.dotify.api.embosser
Enum EmbosserProperties.PrintMode
- java.lang.Object
-
- java.lang.Enum<EmbosserProperties.PrintMode>
-
- org.daisy.dotify.api.embosser.EmbosserProperties.PrintMode
-
- All Implemented Interfaces:
Serializable
,Comparable<EmbosserProperties.PrintMode>
- Enclosing interface:
- EmbosserProperties
public static enum EmbosserProperties.PrintMode extends Enum<EmbosserProperties.PrintMode>
Regular printing or multi-page printing
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EmbosserProperties.PrintMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static EmbosserProperties.PrintMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REGULAR
public static final EmbosserProperties.PrintMode REGULAR
One print page per input page
-
MAGAZINE
public static final EmbosserProperties.PrintMode MAGAZINE
Two print pages per input page
-
-
Method Detail
-
values
public static EmbosserProperties.PrintMode[] 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 (EmbosserProperties.PrintMode c : EmbosserProperties.PrintMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EmbosserProperties.PrintMode 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
-
-