Package net.webpdf.wsclient.openapi
Enum OperationSelectionBox.BoxEnum
- java.lang.Object
-
- java.lang.Enum<OperationSelectionBox.BoxEnum>
-
- net.webpdf.wsclient.openapi.OperationSelectionBox.BoxEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationSelectionBox.BoxEnum>
- Enclosing class:
- OperationSelectionBox
public static enum OperationSelectionBox.BoxEnum extends Enum<OperationSelectionBox.BoxEnum>
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 OperationSelectionBox.BoxEnumfromValue(String value)StringgetValue()StringtoString()static OperationSelectionBox.BoxEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationSelectionBox.BoxEnum[]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 OperationSelectionBox.BoxEnum MEDIA_BOX
-
CROP_BOX
public static final OperationSelectionBox.BoxEnum CROP_BOX
-
BLEED_BOX
public static final OperationSelectionBox.BoxEnum BLEED_BOX
-
TRIM_BOX
public static final OperationSelectionBox.BoxEnum TRIM_BOX
-
ART_BOX
public static final OperationSelectionBox.BoxEnum ART_BOX
-
-
Method Detail
-
values
public static OperationSelectionBox.BoxEnum[] 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 (OperationSelectionBox.BoxEnum c : OperationSelectionBox.BoxEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationSelectionBox.BoxEnum 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<OperationSelectionBox.BoxEnum>
-
fromValue
public static OperationSelectionBox.BoxEnum fromValue(String value)
-
-