|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Field.FlagsEnum> it.stefanochizzolini.clown.documents.interaction.forms.Field.FlagsEnum
public static enum Field.FlagsEnum
Field flags [PDF:1.6:8.6.2].
Enum Constant Summary | |
---|---|
Comb
(Text fields only) The field is automatically divided into as many equally spaced positions, or combs, as the value of MaxLen, and the text is laid out into those combs. |
|
Combo
(Choice fields only) The field is a combo box (otherwise, a list box). |
|
CommitOnSelChange
(Choice fields only) The new value is committed as soon as a selection is made with the pointing device. |
|
DoNotScroll
(Text fields only) The field does not scroll to accommodate more text than fits within its annotation rectangle. |
|
DoNotSpellCheck
(Choice and text fields only) Text entered in the field is not spell-checked. |
|
Edit
(Choice fields only) The combo box includes an editable text box as well as a dropdown list (otherwise, it includes only a drop-down list). |
|
FileSelect
(Text fields only) Text entered in the field represents the pathname of a file whose contents are to be submitted as the value of the field. |
|
Multiline
(Text fields only) The field can contain multiple lines of text. |
|
MultiSelect
(Choice fields only) More than one of the field's option items may be selected simultaneously. |
|
NoExport
The field must not be exported by a submit-form action. |
|
NoToggleToOff
(Radio buttons only) Exactly one radio button must be selected at all times. |
|
Password
(Text fields only) The field is intended for entering a secure password that should not be echoed visibly to the screen. |
|
Pushbutton
(Button fields only) The field is a pushbutton that does not retain a permanent value. |
|
Radio
(Button fields only) The field is a set of radio buttons (otherwise, a check box). |
|
RadiosInUnison
(Button fields only) A group of radio buttons within a radio button field that use the same value for the on state will turn on and off in unison (otherwise, the buttons are mutually exclusive). |
|
ReadOnly
The user may not change the value of the field. |
|
Required
The field must have a value at the time it is exported by a submit-form action. |
|
RichText
(Text fields only) The value of the field should be represented as a rich text string. |
|
Sort
(Choice fields only) The field's option items should be sorted alphabetically. |
Method Summary | |
---|---|
int |
getCode()
|
static EnumSet<Field.FlagsEnum> |
toEnumSet(int flagsMask)
Converts a bit mask into its corresponding enumeration representation. |
static int |
toInt(EnumSet<Field.FlagsEnum> flags)
Converts an enumeration set into its corresponding bit mask representation. |
static Field.FlagsEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Field.FlagsEnum[] |
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 class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Field.FlagsEnum ReadOnly
public static final Field.FlagsEnum Required
public static final Field.FlagsEnum NoExport
public static final Field.FlagsEnum Multiline
public static final Field.FlagsEnum Password
public static final Field.FlagsEnum NoToggleToOff
public static final Field.FlagsEnum Radio
public static final Field.FlagsEnum Pushbutton
public static final Field.FlagsEnum Combo
public static final Field.FlagsEnum Edit
public static final Field.FlagsEnum Sort
public static final Field.FlagsEnum FileSelect
public static final Field.FlagsEnum MultiSelect
public static final Field.FlagsEnum DoNotSpellCheck
public static final Field.FlagsEnum DoNotScroll
public static final Field.FlagsEnum Comb
public static final Field.FlagsEnum RichText
public static final Field.FlagsEnum RadiosInUnison
public static final Field.FlagsEnum CommitOnSelChange
Method Detail |
---|
public static Field.FlagsEnum[] values()
for (Field.FlagsEnum c : Field.FlagsEnum.values()) System.out.println(c);
public static Field.FlagsEnum valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static int toInt(EnumSet<Field.FlagsEnum> flags)
public static EnumSet<Field.FlagsEnum> toEnumSet(int flagsMask)
public int getCode()
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |