Package net.webpdf.wsclient.openapi
Enum MetadataViewerPreferences.DuplexEnum
- java.lang.Object
-
- java.lang.Enum<MetadataViewerPreferences.DuplexEnum>
-
- net.webpdf.wsclient.openapi.MetadataViewerPreferences.DuplexEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MetadataViewerPreferences.DuplexEnum>
- Enclosing class:
- MetadataViewerPreferences
public static enum MetadataViewerPreferences.DuplexEnum extends Enum<MetadataViewerPreferences.DuplexEnum>
The duplex settings initially suggested when opening the Reader's print dialog. * none = The Reader shall use it's default suggestion. * simplex = The Reader shall suggest simplex printing. * duplexFlipShortEdge = The Reader shall suggest duplex printing, flipping pages over the shorter edge. * duplexFlipLongEdge = The Reader shall suggest duplex printing, flipping pages over the longer edge.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DUPLEX_FLIP_LONG_EDGEDUPLEX_FLIP_SHORT_EDGENONESIMPLEX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetadataViewerPreferences.DuplexEnumfromValue(String value)StringgetValue()StringtoString()static MetadataViewerPreferences.DuplexEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MetadataViewerPreferences.DuplexEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final MetadataViewerPreferences.DuplexEnum NONE
-
SIMPLEX
public static final MetadataViewerPreferences.DuplexEnum SIMPLEX
-
DUPLEX_FLIP_SHORT_EDGE
public static final MetadataViewerPreferences.DuplexEnum DUPLEX_FLIP_SHORT_EDGE
-
DUPLEX_FLIP_LONG_EDGE
public static final MetadataViewerPreferences.DuplexEnum DUPLEX_FLIP_LONG_EDGE
-
-
Method Detail
-
values
public static MetadataViewerPreferences.DuplexEnum[] 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 (MetadataViewerPreferences.DuplexEnum c : MetadataViewerPreferences.DuplexEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetadataViewerPreferences.DuplexEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<MetadataViewerPreferences.DuplexEnum>
-
fromValue
public static MetadataViewerPreferences.DuplexEnum fromValue(String value)
-
-