Package de.xima.fc.pdf.form
Enum EPdfAcroFormType
- java.lang.Object
-
- java.lang.Enum<EPdfAcroFormType>
-
- de.xima.fc.pdf.form.EPdfAcroFormType
-
- All Implemented Interfaces:
Serializable
,Comparable<EPdfAcroFormType>
public enum EPdfAcroFormType extends Enum<EPdfAcroFormType>
Enumeration with the different types of AcroForm fields.- Since:
- 7.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECKBOX
A check box that can be enabled or disabled.COMBO_BOX
A single line field with the selected option.LIST_BOX
Shows a list of options in a vertical list.PUSH_BUTTON
A button that can be pressed.RADIO_BUTTON
A radio button that can be enabled or disable, usually only one choice is possible.SIGNATURE
Allows the user to enter a signature.TEXT_FIELD
A field for freely entering arbitrary text.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EPdfAcroFormType
valueOf(String name)
Returns the enum constant of this type with the specified name.static EPdfAcroFormType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHECKBOX
public static final EPdfAcroFormType CHECKBOX
A check box that can be enabled or disabled.
-
COMBO_BOX
public static final EPdfAcroFormType COMBO_BOX
A single line field with the selected option.
-
LIST_BOX
public static final EPdfAcroFormType LIST_BOX
Shows a list of options in a vertical list.
-
PUSH_BUTTON
public static final EPdfAcroFormType PUSH_BUTTON
A button that can be pressed.
-
RADIO_BUTTON
public static final EPdfAcroFormType RADIO_BUTTON
A radio button that can be enabled or disable, usually only one choice is possible.
-
SIGNATURE
public static final EPdfAcroFormType SIGNATURE
Allows the user to enter a signature.
-
TEXT_FIELD
public static final EPdfAcroFormType TEXT_FIELD
A field for freely entering arbitrary text.
-
-
Method Detail
-
values
public static EPdfAcroFormType[] 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 (EPdfAcroFormType c : EPdfAcroFormType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EPdfAcroFormType 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
-
-