Package de.xima.fc.pdf.form
Enum ETextFormatFlag
- java.lang.Object
-
- java.lang.Enum<ETextFormatFlag>
-
- de.xima.fc.pdf.form.ETextFormatFlag
-
- All Implemented Interfaces:
Serializable
,Comparable<ETextFormatFlag>
public enum ETextFormatFlag extends Enum<ETextFormatFlag>
Enumeration with the possible flags for different text formatting styles.- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ETextFormatFlag
valueOf(String name)
Returns the enum constant of this type with the specified name.static ETextFormatFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOLD
public static final ETextFormatFlag BOLD
Bold text.
-
ITALIC
public static final ETextFormatFlag ITALIC
Italic (cursive) text
-
SMALL_CAP
public static final ETextFormatFlag SMALL_CAP
Small caps.
-
SERIF
public static final ETextFormatFlag SERIF
Text uses serifs
-
-
Method Detail
-
values
public static ETextFormatFlag[] 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 (ETextFormatFlag c : ETextFormatFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ETextFormatFlag 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
-
-