Package net.webpdf.wsclient.openapi
Enum OperationSyntaxHighlight.FontOriginEnum
- java.lang.Object
-
- java.lang.Enum<OperationSyntaxHighlight.FontOriginEnum>
-
- net.webpdf.wsclient.openapi.OperationSyntaxHighlight.FontOriginEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationSyntaxHighlight.FontOriginEnum>
- Enclosing class:
- OperationSyntaxHighlight
public static enum OperationSyntaxHighlight.FontOriginEnum extends Enum<OperationSyntaxHighlight.FontOriginEnum>
Used to specify whether the selected font should be obtained from your operating system or from the \"templates/fonts\" folder (in your webPDF installation path). Possible values: * system = It will be possible to select from the fonts available system-wide. * folder =It will be possible to select from the fonts in \"templates/fonts\".
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationSyntaxHighlight.FontOriginEnumfromValue(String value)StringgetValue()StringtoString()static OperationSyntaxHighlight.FontOriginEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationSyntaxHighlight.FontOriginEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSTEM
public static final OperationSyntaxHighlight.FontOriginEnum SYSTEM
-
FOLDER
public static final OperationSyntaxHighlight.FontOriginEnum FOLDER
-
-
Method Detail
-
values
public static OperationSyntaxHighlight.FontOriginEnum[] 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 (OperationSyntaxHighlight.FontOriginEnum c : OperationSyntaxHighlight.FontOriginEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationSyntaxHighlight.FontOriginEnum 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<OperationSyntaxHighlight.FontOriginEnum>
-
fromValue
public static OperationSyntaxHighlight.FontOriginEnum fromValue(String value)
-
-