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 ConstantsEnum ConstantDescriptionRendered as aUploadItemRendered as aCheckboxItemRendered as aDateItemRendered as aDateTimeItemRendered as aSelectItem.Same astextby default.Same astextby default.Same astextRendered as aTextItem, unless the lenght of the field (as specified bylengthattribute) is larger than the value
 specified bylongTextEditorThreshold, a
TextAreaItemis shown.Rendered as aTimeItem -
Method Summary
Modifier and TypeMethodDescriptiongetValue()static FormItemTypeReturns 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 bylengthattribute) is larger than the value
 specified bylongTextEditorThreshold, a
TextAreaItemis shown. -
BOOLEAN
Rendered as aCheckboxItem -
INTEGER
Same astextby default. Consider setting editorType:SpinnerItem -
FLOAT
Same astextby 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
-