Package net.webpdf.wsclient.openapi
Enum OperationFileAnnotation.IconEnum
- java.lang.Object
-
- java.lang.Enum<OperationFileAnnotation.IconEnum>
-
- net.webpdf.wsclient.openapi.OperationFileAnnotation.IconEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationFileAnnotation.IconEnum>
- Enclosing class:
- OperationFileAnnotation
public static enum OperationFileAnnotation.IconEnum extends Enum<OperationFileAnnotation.IconEnum>
If an attachment is embedded at the page level, this option can be used to specify the icon that should be used to show it: The value you use here will define which icon will be used, as well as the basic dimensions for the annotation generated in the PDF. If you use the \"None\" icon type, a predefined icon will not be used. Instead, this option will only use the dimensions specified in \"width\" and \"height\" to generate an annotation with a transparent selection box at the specified position. * graph = Diagram * paperclip = Paper clip * pushPin = Thumb tack * tag = Tag * none = Rectangular selection box
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationFileAnnotation.IconEnumfromValue(String value)StringgetValue()StringtoString()static OperationFileAnnotation.IconEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationFileAnnotation.IconEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GRAPH
public static final OperationFileAnnotation.IconEnum GRAPH
-
PAPERCLIP
public static final OperationFileAnnotation.IconEnum PAPERCLIP
-
PUSHPIN
public static final OperationFileAnnotation.IconEnum PUSHPIN
-
TAG
public static final OperationFileAnnotation.IconEnum TAG
-
NONE
public static final OperationFileAnnotation.IconEnum NONE
-
-
Method Detail
-
values
public static OperationFileAnnotation.IconEnum[] 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 (OperationFileAnnotation.IconEnum c : OperationFileAnnotation.IconEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationFileAnnotation.IconEnum 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<OperationFileAnnotation.IconEnum>
-
fromValue
public static OperationFileAnnotation.IconEnum fromValue(String value)
-
-