Package com.ironsoftware.ironpdf.form
Enum FormFieldTypes
- java.lang.Object
-
- java.lang.Enum<FormFieldTypes>
-
- com.ironsoftware.ironpdf.form.FormFieldTypes
-
- All Implemented Interfaces:
Serializable
,Comparable<FormFieldTypes>
public enum FormFieldTypes extends Enum<FormFieldTypes>
Form field types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECK_BOX
COMBO_BOX
LIST_BOX
PUSH_BUTTON
RADIO_BUTTON
SIGNATURE
TEXT_FIELD
UNKNOWN
XFA
XFA_CHECK_BOX
XFA_COMBO_BOX
XFA_IMAGE_FIELD
XFA_LIST_BOX
XFA_PUSH_BUTTON
XFA_SIGNATURE
XFA_TEXT_FIELD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormFieldTypes
fromFormType(String formType)
String
getFormType()
static FormFieldTypes
valueOf(String name)
Returns the enum constant of this type with the specified name.static FormFieldTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final FormFieldTypes UNKNOWN
-
PUSH_BUTTON
public static final FormFieldTypes PUSH_BUTTON
-
CHECK_BOX
public static final FormFieldTypes CHECK_BOX
-
RADIO_BUTTON
public static final FormFieldTypes RADIO_BUTTON
-
COMBO_BOX
public static final FormFieldTypes COMBO_BOX
-
LIST_BOX
public static final FormFieldTypes LIST_BOX
-
TEXT_FIELD
public static final FormFieldTypes TEXT_FIELD
-
SIGNATURE
public static final FormFieldTypes SIGNATURE
-
XFA
public static final FormFieldTypes XFA
-
XFA_CHECK_BOX
public static final FormFieldTypes XFA_CHECK_BOX
-
XFA_COMBO_BOX
public static final FormFieldTypes XFA_COMBO_BOX
-
XFA_IMAGE_FIELD
public static final FormFieldTypes XFA_IMAGE_FIELD
-
XFA_LIST_BOX
public static final FormFieldTypes XFA_LIST_BOX
-
XFA_PUSH_BUTTON
public static final FormFieldTypes XFA_PUSH_BUTTON
-
XFA_SIGNATURE
public static final FormFieldTypes XFA_SIGNATURE
-
XFA_TEXT_FIELD
public static final FormFieldTypes XFA_TEXT_FIELD
-
-
Method Detail
-
values
public static FormFieldTypes[] 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 (FormFieldTypes c : FormFieldTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormFieldTypes 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
-
getFormType
public String getFormType()
-
fromFormType
public static FormFieldTypes fromFormType(String formType)
-
-