Package com.smartgwt.client.types
Enum FormItemType
- All Implemented Interfaces:
- ValueEnum,- Serializable,- Comparable<FormItemType>,- Constable
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum 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 SummaryModifier 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- 
TEXTRendered as aTextItem, unless the lenght of the field (as specified bylengthattribute) is larger than the value
 specified bylongTextEditorThreshold, a
TextAreaItemis shown.
- 
BOOLEANRendered as aCheckboxItem
- 
INTEGERSame astextby default. Consider setting editorType:SpinnerItem
- 
FLOATSame astextby default. Consider setting editorType:SpinnerItem.
- 
DATERendered as aDateItem
- 
TIMERendered as aTimeItem
- 
DATETIMERendered as aDateTimeItem
- 
ENUMRendered as aSelectItem. Also true for any field that specifies aFormItem.setValueMap(String[])
 Consider setting editorType:ComboBoxItem.
- 
SEQUENCESame 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
- 
BINARYRendered as aUploadItem
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getValue
 
-