Enum PdfFieldTypeEnum
- java.lang.Object
-
- java.lang.Enum<PdfFieldTypeEnum>
-
- net.sf.jasperreports.engine.export.type.PdfFieldTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PdfFieldTypeEnum>,NamedEnum
public enum PdfFieldTypeEnum extends Enum<PdfFieldTypeEnum> implements NamedEnum
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECKConstant useful for specifying the checkbox input field type in PDF form.COMBOConstant useful for specifying the combobox input field type in PDF form.LISTConstant useful for specifying the list input field type in PDF form.RADIOConstant useful for specifying the radio group option input field type in PDF form.TEXTConstant useful for specifying the text input field type in PDF form.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PdfFieldTypeEnumgetByName(String name)StringgetName()static PdfFieldTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PdfFieldTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final PdfFieldTypeEnum TEXT
Constant useful for specifying the text input field type in PDF form.
-
COMBO
public static final PdfFieldTypeEnum COMBO
Constant useful for specifying the combobox input field type in PDF form.
-
LIST
public static final PdfFieldTypeEnum LIST
Constant useful for specifying the list input field type in PDF form.
-
CHECK
public static final PdfFieldTypeEnum CHECK
Constant useful for specifying the checkbox input field type in PDF form.
-
RADIO
public static final PdfFieldTypeEnum RADIO
Constant useful for specifying the radio group option input field type in PDF form.
-
-
Method Detail
-
values
public static PdfFieldTypeEnum[] 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 (PdfFieldTypeEnum c : PdfFieldTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PdfFieldTypeEnum 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
-
getByName
public static PdfFieldTypeEnum getByName(String name)
-
-