Package su.onno.ui
Enum Class InputType
- All Implemented Interfaces:
Serializable,Comparable<InputType>,Constable
The kind of toolbar input field rendered alongside the custom action buttons. Picks the widget
the client shows; the value always reaches a handler as a string (see
ActionContext).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA date picker (value is an ISOyyyy-MM-ddstring).A numeric field (value is the number as a string).A searchable picker of another catalog/document's records — the same ref widget an entity form uses.A dropdown of author-supplied options.A free-text field.A multi-line free-text field (action-form dialogs; a toolbar renders it as a single-line field). -
Method Summary
-
Enum Constant Details
-
TEXT
A free-text field. -
TEXTAREA
A multi-line free-text field (action-form dialogs; a toolbar renders it as a single-line field). -
DATE
A date picker (value is an ISOyyyy-MM-ddstring). -
NUMBER
A numeric field (value is the number as a string). -
SELECT
A dropdown of author-supplied options. -
REFERENCE
A searchable picker of another catalog/document's records — the same ref widget an entity form uses. The value is the picked record's id (a UUID string); the target entity is declared withInputSpec.InputBuilder.reference(Class). Action forms only.
-
-
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
-