Package com.smartgwt.client.data.fields
Class DataSourceSimpleTypeField
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.data.Field
com.smartgwt.client.data.DataSourceField
com.smartgwt.client.data.fields.DataSourceSimpleTypeField
- All Implemented Interfaces:
HasHandlers
A DataSourceField that is based on a user created
SimpleType
. For example, a user can create
a reusable ZipCode SimpleType class with a regular expression based Validator
and then use this SimpleType in various DataSourceField definitions across their application.
This is a powerful feature which allows creation and resuse of domain specific "primitive" data types or types in the enterprises Common Data Model (CDM).
-
Field Summary
Fields inherited from class com.smartgwt.client.core.RefDataClass
id
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
ConstructorDescriptionDataSourceSimpleTypeField
(String name, SimpleType simpleType) DataSourceSimpleTypeField
(String name, SimpleType simpleType, String title) DataSourceSimpleTypeField
(String name, SimpleType simpleType, String title, int length) DataSourceSimpleTypeField
(String name, SimpleType simpleType, String title, int length, boolean required) -
Method Summary
Methods inherited from class com.smartgwt.client.data.DataSourceField
getCalculated, getCanEdit, getCanExport, getCanFilter, getCanSave, getCanSortClientOnly, getCanView, getChildrenProperty, getChildTagName, getDateFormatter, getDecimalPad, getDecimalPrecision, getDeepCloneOnEdit, getDefaultOperator, getDescription, getDetail, getDisplayField, getEmptyDisplayValue, getEscapeHTML, getExcludeFromState, getExportForceText, getExportFormat, getExportTitle, getFilterOn, getForeignDisplayField, getForeignKey, getFormat, getFormula, getGroup, getHidden, getIgnoreTextMatchStyle, getImageHeight, getImageHeightAsString, getImageSize, getImageSizeAsString, getImageWidth, getImageWidthAsString, getInapplicable, getJoinPrefix, getJoinString, getJoinSuffix, getLength, getLenientXPath, getMultiple, getMultipleValueSeparator, getName, getNillable, getOrCreateRef, getPluralTitle, getPrecision, getPrimaryKey, getPrompt, getPropertiesOnly, getRecreateOnChange, getRequired, getRequiredMessage, getRootValue, getSequenceName, getShowFileInline, getSortByField, getStringInBrowser, getSummaryFunction, getSummaryValueTitle, getTemplate, getTimeFormatter, getTitle, getType, getTypeAsDataSource, getTypeAsSimpleType, getUploadFieldName, getUseLocalDisplayFieldValue, getValidators, getValidOperators, getValueMap, getValueXPath, getXmlAttribute, setCalculated, setCanEdit, setCanExport, setCanFilter, setCanSave, setCanSortClientOnly, setCanView, setChildrenProperty, setChildTagName, setDateFormatter, setDecimalPad, setDecimalPrecision, setDeepCloneOnEdit, setDefaultOperator, setDescription, setDetail, setDisplayField, setEditorProperties, setEditorType, setEditorType, setEditorType, setEmptyDisplayValue, setEscapeHTML, setExcludeFromState, setExportForceText, setExportFormat, setExportTitle, setFieldValueExtractor, setFilterEditorProperties, setFilterEditorType, setFilterEditorType, setFilterOn, setForeignDisplayField, setForeignKey, setFormat, setFormula, setGroup, setHidden, setIgnoreTextMatchStyle, setImageHeight, setImageHeight, setImageSize, setImageSize, setImageWidth, setImageWidth, setInapplicable, setJoinPrefix, setJoinString, setJoinSuffix, setLength, setLenientXPath, setMultiple, setMultipleValueSeparator, setName, setNillable, setPluralTitle, setPrecision, setPrimaryKey, setPrompt, setPropertiesOnly, setReadOnlyEditorProperties, setReadOnlyEditorType, setReadOnlyEditorType, setReadOnlyEditorType, setRecreateOnChange, setRequired, setRequiredMessage, setRootValue, setRootValue, setRootValue, setRootValue, setSequenceName, setShowFileInline, setSortByField, setStringInBrowser, setSummaryFunction, setSummaryFunction, setSummaryFunction, setSummaryValueTitle, setTemplate, setTimeFormatter, setTitle, setType, setType, setType, setTypeAsDataSource, setUploadFieldName, setUseLocalDisplayFieldValue, setValidators, setValidOperators, setValueMap, setValueMap, setValueXPath, setXmlAttribute
Methods inherited from class com.smartgwt.client.data.Field
setRequired
Methods inherited from class com.smartgwt.client.core.RefDataClass
getRef, getRef, internalSetID
Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
-
Constructor Details
-
DataSourceSimpleTypeField
-
DataSourceSimpleTypeField
-
DataSourceSimpleTypeField
-
DataSourceSimpleTypeField
public DataSourceSimpleTypeField(String name, SimpleType simpleType, String title, int length, boolean required)
-