Package net.webpdf.wsclient.openapi
Enum OperationRectangle.MetricsEnum
- java.lang.Object
-
- java.lang.Enum<OperationRectangle.MetricsEnum>
-
- net.webpdf.wsclient.openapi.OperationRectangle.MetricsEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationRectangle.MetricsEnum>
- Enclosing class:
- OperationRectangle
public static enum OperationRectangle.MetricsEnum extends Enum<OperationRectangle.MetricsEnum>
Unit for the X-axis/Y-axis position and signature field height and width arguments: * pt = Points(1/72 inch) * pc = Picas(12 points) * px = Pixels(1/96 inch) * mm = Millimeters * in = Inches
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationRectangle.MetricsEnumfromValue(String value)StringgetValue()StringtoString()static OperationRectangle.MetricsEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationRectangle.MetricsEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PT
public static final OperationRectangle.MetricsEnum PT
-
PC
public static final OperationRectangle.MetricsEnum PC
-
PX
public static final OperationRectangle.MetricsEnum PX
-
MM
public static final OperationRectangle.MetricsEnum MM
-
IN
public static final OperationRectangle.MetricsEnum IN
-
-
Method Detail
-
values
public static OperationRectangle.MetricsEnum[] 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 (OperationRectangle.MetricsEnum c : OperationRectangle.MetricsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationRectangle.MetricsEnum 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<OperationRectangle.MetricsEnum>
-
fromValue
public static OperationRectangle.MetricsEnum fromValue(String value)
-
-