Package com.smartgwt.client.types
Enum FormItemType
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<FormItemType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRendered as aUploadItem
Rendered as aCheckboxItem
Rendered as aDateItem
Rendered as aDateTimeItem
Rendered as aSelectItem
.Same astext
by default.Same astext
by default.Same astext
Rendered as aTextItem
, unless the lenght of the field (as specified bylength
attribute) is larger than the value
 specified bylongTextEditorThreshold
, a
TextAreaItem
is shown.Rendered as aTimeItem
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static FormItemType
Returns the enum constant of this type with the specified name.static FormItemType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TEXT
Rendered as aTextItem
, unless the lenght of the field (as specified bylength
attribute) is larger than the value
 specified bylongTextEditorThreshold
, a
TextAreaItem
is shown. -
BOOLEAN
Rendered as aCheckboxItem
-
INTEGER
Same astext
by default. Consider setting editorType:SpinnerItem
-
FLOAT
Same astext
by default. Consider setting editorType:SpinnerItem
. -
DATE
Rendered as aDateItem
-
TIME
Rendered as aTimeItem
-
DATETIME
Rendered as aDateTimeItem
-
ENUM
Rendered as aSelectItem
. Also true for any field that specifies aFormItem.setValueMap(String[])

 Consider setting editorType:ComboBoxItem
. -
SEQUENCE
Same astext
-
LINK
-
IMAGE
-
CHECKBOX
-
STATIC_TEXT
-
BLOB
-
MULTI_FILE
-
MULTI_UPLOAD
-
UPLOAD
-
FILE
-
BASE64_BINARY
-
CYCLE_ITEM
-
SELECT_OTHER
-
RELATION
-
DATETIME_ITEM
-
SELECT_ITEM
-
HIDDEN_ITEM
-
HEADER_ITEM
-
DATE_ITEM
-
BLURB_ITEM
-
COMBOBOX_ITEM
-
MULTICOMBOBOX_ITEM
-
SPACER_ITEM
-
ROWSPACER_ITEM
-
CHECKBOX_ITEM
-
STATICTEXT_ITEM
-
LINK_ITEM
-
CANVAS_ITEM
-
PICKTREE_ITEM
-
BUTTON_ITEM
-
SUBMIT_ITEM
-
RESET_ITEM
-
RICHTEXT_ITEM
-
FILE_ITEM
-
SLIDER_ITEM
-
TOOLBAR_ITEM
-
SECTION_ITEM
-
TEXTAREA_ITEM
-
TEXT_ITEM
-
UPLOAD_ITEM
-
PASSWORD_ITEM
-
SPINNER_ITEM
-
TIME_ITEM
-
NATIVE_CHECKBOX_ITEM
-
RADIOGROUP_ITEM
-
IMAGEFILE
-
BINARY
Rendered as aUploadItem
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-