Package net.webpdf.wsclient.openapi
Enum OperationViewerPreferences.ViewClipEnum
- java.lang.Object
-
- java.lang.Enum<OperationViewerPreferences.ViewClipEnum>
-
- net.webpdf.wsclient.openapi.OperationViewerPreferences.ViewClipEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationViewerPreferences.ViewClipEnum>
- Enclosing class:
- OperationViewerPreferences
public static enum OperationViewerPreferences.ViewClipEnum extends Enum<OperationViewerPreferences.ViewClipEnum>
Used to select the box that should be scaled. * media\\_box = The page's physical dimensions. * crop\\_box = The visible (printable) page area. * bleed\\_box = Untrimmed content position on the page (content dimensions plus trim box). * trim\\_box = Trimmed content position on the page (final content dimensions). * art\\_box = Position for special page content (images).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationViewerPreferences.ViewClipEnumfromValue(String value)StringgetValue()StringtoString()static OperationViewerPreferences.ViewClipEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationViewerPreferences.ViewClipEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEDIA_BOX
public static final OperationViewerPreferences.ViewClipEnum MEDIA_BOX
-
CROP_BOX
public static final OperationViewerPreferences.ViewClipEnum CROP_BOX
-
BLEED_BOX
public static final OperationViewerPreferences.ViewClipEnum BLEED_BOX
-
TRIM_BOX
public static final OperationViewerPreferences.ViewClipEnum TRIM_BOX
-
ART_BOX
public static final OperationViewerPreferences.ViewClipEnum ART_BOX
-
-
Method Detail
-
values
public static OperationViewerPreferences.ViewClipEnum[] 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 (OperationViewerPreferences.ViewClipEnum c : OperationViewerPreferences.ViewClipEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationViewerPreferences.ViewClipEnum 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<OperationViewerPreferences.ViewClipEnum>
-
fromValue
public static OperationViewerPreferences.ViewClipEnum fromValue(String value)
-
-