Package net.sf.jasperreports.pdf.type
Enum PdfFieldCheckTypeEnum
- java.lang.Object
-
- java.lang.Enum<PdfFieldCheckTypeEnum>
-
- net.sf.jasperreports.pdf.type.PdfFieldCheckTypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<PdfFieldCheckTypeEnum>
,NamedEnum
,NamedValueEnum<Integer>
public enum PdfFieldCheckTypeEnum extends Enum<PdfFieldCheckTypeEnum> implements NamedValueEnum<Integer>
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECK
Constant useful for specifying the checkbox type for the check input field in PDF form.CIRCLE
Constant useful for specifying the circle type for the check input field in PDF form.CROSS
Constant useful for specifying the cross type for the check input field in PDF form.DIAMOND
Constant useful for specifying the diamond type for the check input field in PDF form.SQUARE
Constant useful for specifying the square type for the check input field in PDF form.STAR
Constant useful for specifying the star type for the check input field in PDF form.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PdfFieldCheckTypeEnum
getByName(String name)
String
getName()
Integer
getValue()
static PdfFieldCheckTypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static PdfFieldCheckTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface net.sf.jasperreports.engine.type.NamedEnum
getDefault
-
-
-
-
Enum Constant Detail
-
CHECK
public static final PdfFieldCheckTypeEnum CHECK
Constant useful for specifying the checkbox type for the check input field in PDF form.
-
CIRCLE
public static final PdfFieldCheckTypeEnum CIRCLE
Constant useful for specifying the circle type for the check input field in PDF form.
-
CROSS
public static final PdfFieldCheckTypeEnum CROSS
Constant useful for specifying the cross type for the check input field in PDF form.
-
DIAMOND
public static final PdfFieldCheckTypeEnum DIAMOND
Constant useful for specifying the diamond type for the check input field in PDF form.
-
SQUARE
public static final PdfFieldCheckTypeEnum SQUARE
Constant useful for specifying the square type for the check input field in PDF form.
-
STAR
public static final PdfFieldCheckTypeEnum STAR
Constant useful for specifying the star type for the check input field in PDF form.
-
-
Method Detail
-
values
public static PdfFieldCheckTypeEnum[] 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 (PdfFieldCheckTypeEnum c : PdfFieldCheckTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PdfFieldCheckTypeEnum 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 final Integer getValue()
- Specified by:
getValue
in interfaceNamedValueEnum<Integer>
-
getByName
public static PdfFieldCheckTypeEnum getByName(String name)
-
-