Package net.webpdf.wsclient.openapi
Enum OperationBoxesResize.BoxEnum
- java.lang.Object
-
- java.lang.Enum<OperationBoxesResize.BoxEnum>
-
- net.webpdf.wsclient.openapi.OperationBoxesResize.BoxEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationBoxesResize.BoxEnum>
- Enclosing class:
- OperationBoxesResize
public static enum OperationBoxesResize.BoxEnum extends Enum<OperationBoxesResize.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 OperationBoxesResize.BoxEnumfromValue(String value)StringgetValue()StringtoString()static OperationBoxesResize.BoxEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationBoxesResize.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 OperationBoxesResize.BoxEnum MEDIA_BOX
-
CROP_BOX
public static final OperationBoxesResize.BoxEnum CROP_BOX
-
BLEED_BOX
public static final OperationBoxesResize.BoxEnum BLEED_BOX
-
TRIM_BOX
public static final OperationBoxesResize.BoxEnum TRIM_BOX
-
ART_BOX
public static final OperationBoxesResize.BoxEnum ART_BOX
-
-
Method Detail
-
values
public static OperationBoxesResize.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 (OperationBoxesResize.BoxEnum c : OperationBoxesResize.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 OperationBoxesResize.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<OperationBoxesResize.BoxEnum>
-
fromValue
public static OperationBoxesResize.BoxEnum fromValue(String value)
-
-