Enum CheckBoxType
- java.lang.Object
-
- java.lang.Enum<CheckBoxType>
-
- com.itextpdf.forms.fields.properties.CheckBoxType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CheckBoxType>
public enum CheckBoxType extends java.lang.Enum<CheckBoxType>
Enum representing possible values for check box mark drawing.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CheckBoxType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CheckBoxType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CheckBoxType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHECK
public static final CheckBoxType CHECK
-
CIRCLE
public static final CheckBoxType CIRCLE
-
CROSS
public static final CheckBoxType CROSS
-
DIAMOND
public static final CheckBoxType DIAMOND
-
SQUARE
public static final CheckBoxType SQUARE
-
STAR
public static final CheckBoxType STAR
-
-
Method Detail
-
values
public static CheckBoxType[] 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 (CheckBoxType c : CheckBoxType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CheckBoxType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-