public static enum CPDFCheckboxWidget.CheckboxStyle extends java.lang.Enum<CPDFCheckboxWidget.CheckboxStyle>
Enum Constant and Description |
---|
CHECKBOX_CIRCLE
Circle border style
|
CHECKBOX_TICK
Square border style
|
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static CPDFCheckboxWidget.CheckboxStyle |
valueOf(int id)
Gets relative enumerarion according to int value.
|
static CPDFCheckboxWidget.CheckboxStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CPDFCheckboxWidget.CheckboxStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPDFCheckboxWidget.CheckboxStyle CHECKBOX_TICK
public static final CPDFCheckboxWidget.CheckboxStyle CHECKBOX_CIRCLE
public static CPDFCheckboxWidget.CheckboxStyle[] values()
for (CPDFCheckboxWidget.CheckboxStyle c : CPDFCheckboxWidget.CheckboxStyle.values()) System.out.println(c);
public static CPDFCheckboxWidget.CheckboxStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CPDFCheckboxWidget.CheckboxStyle valueOf(int id)
id
- int value of each enumeration.