Package io.keikai.axyra.sheets.content
Enum Class FormControlType
- All Implemented Interfaces:
Serializable,Comparable<FormControlType>,Constable
The kind of a worksheet form control (the classic Form Controls group on
Excel's Developer tab), matching the OOXML ctrlProp
objectType
families (ECMA-376 Part 1 §18.3.1.13 plus the <formControlPr> part).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA push button.A check box with an on/off state.A drop-down list fed by a list-fill range.A text edit box (a dialog-sheet control).A frame that groups option buttons.Static caption text.A list of items fed by a list-fill range.An option (radio) button; buttons in one group box exclude each other.A scroll bar with a value between a minimum and a maximum.Up/down arrows that step a value between a minimum and a maximum.A control the engine could not classify, read from a file. -
Method Summary
Modifier and TypeMethodDescriptioncode()The wire token used across the native boundary.static FormControlTypeThe type for a wire token;UNKNOWNfor unrecognized tokens.static FormControlTypeReturns the enum constant of this class with the specified name.static FormControlType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHECK_BOX
A check box with an on/off state. -
OPTION_BUTTON
An option (radio) button; buttons in one group box exclude each other. -
BUTTON
A push button. -
COMBO_BOX
A drop-down list fed by a list-fill range. -
LIST_BOX
A list of items fed by a list-fill range. -
SCROLL_BAR
A scroll bar with a value between a minimum and a maximum. -
SPIN_BUTTON
Up/down arrows that step a value between a minimum and a maximum. -
EDIT_BOX
A text edit box (a dialog-sheet control). -
LABEL
Static caption text. -
GROUP_BOX
A frame that groups option buttons. -
UNKNOWN
A control the engine could not classify, read from a file. It cannot be written: adding or updating a control of this type throwsAxyraException.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
code
The wire token used across the native boundary. -
fromCode
The type for a wire token;UNKNOWNfor unrecognized tokens.
-