Package net.webpdf.wsclient.openapi
Enum OperationPng.MetricsEnum
- java.lang.Object
-
- java.lang.Enum<OperationPng.MetricsEnum>
-
- net.webpdf.wsclient.openapi.OperationPng.MetricsEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationPng.MetricsEnum>
- Enclosing class:
- OperationPng
public static enum OperationPng.MetricsEnum extends Enum<OperationPng.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 OperationPng.MetricsEnumfromValue(String value)StringgetValue()StringtoString()static OperationPng.MetricsEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationPng.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 OperationPng.MetricsEnum PT
-
PC
public static final OperationPng.MetricsEnum PC
-
PX
public static final OperationPng.MetricsEnum PX
-
MM
public static final OperationPng.MetricsEnum MM
-
IN
public static final OperationPng.MetricsEnum IN
-
-
Method Detail
-
values
public static OperationPng.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 (OperationPng.MetricsEnum c : OperationPng.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 OperationPng.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<OperationPng.MetricsEnum>
-
fromValue
public static OperationPng.MetricsEnum fromValue(String value)
-
-