com.smartgwt.client.data.fields
Class DataSourceSimpleTypeField

java.lang.Object
  extended by com.smartgwt.client.core.JsObject
      extended by com.smartgwt.client.core.DataClass
          extended by com.smartgwt.client.data.DataSourceField
              extended by com.smartgwt.client.data.fields.DataSourceSimpleTypeField

public class DataSourceSimpleTypeField
extends DataSourceField

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.JsObject
jsObj
 
Constructor Summary
DataSourceSimpleTypeField(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
convertToDataSourceFieldArray, getCanEdit, getCanExport, getCanFilter, getCanSave, getCanSortClientOnly, getChildrenProperty, getChildTagName, getDateFormatter, getDetail, getEscapeHTML, getExportTitle, getForeignKey, getGroup, getHidden, getIgnore, getImageHeight, getImageHeightAsString, getImageSize, getImageSizeAsString, getImageWidth, getImageWidthAsString, getInapplicable, getJavaClass, getJavaCollectionClass, getJavaKeyClass, getLength, getMultiple, getName, getOrCreateRef, getPluralTitle, getPrimaryKey, getPrompt, getPropertiesOnly, getRequired, getRootValue, getSequenceName, getShowFileInline, getSummaryFunction, getSummaryValueTitle, getTitle, getType, getTypeAsDataSource, getValidators, getValidOperators, getValueMap, getValueXPath, getXmlAttribute, setCanEdit, setCanExport, setCanFilter, setCanSave, setCanSortClientOnly, setChildrenProperty, setChildTagName, setDateFormatter, setDetail, setEditorType, setEscapeHTML, setExportTitle, setFieldValueExtractor, setForeignKey, setGroup, setHidden, setIgnore, setImageHeight, setImageHeight, setImageSize, setImageSize, setImageWidth, setImageWidth, setInapplicable, setJavaClass, setJavaCollectionClass, setJavaKeyClass, setLength, setMultiple, setName, setPluralTitle, setPrimaryKey, setPrompt, setPropertiesOnly, setReadOnlyEditorType, setRequired, setRootValue, setRootValue, setRootValue, setRootValue, setSequenceName, setShowFileInline, setSummaryFunction, setSummaryFunction, setSummaryFunction, setSummaryValueTitle, setTitle, setType, setType, setType, setTypeAsDataSource, setValidators, setValidOperators, setValueMap, setValueMap, setValueXPath, setXmlAttribute
 
Methods inherited from class com.smartgwt.client.core.DataClass
doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute
 
Methods inherited from class com.smartgwt.client.core.JsObject
isCreated, setJsObj
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceSimpleTypeField

public DataSourceSimpleTypeField(String name,
                                 SimpleType simpleType)

DataSourceSimpleTypeField

public DataSourceSimpleTypeField(String name,
                                 SimpleType simpleType,
                                 String title)

DataSourceSimpleTypeField

public DataSourceSimpleTypeField(String name,
                                 SimpleType simpleType,
                                 String title,
                                 int length)

DataSourceSimpleTypeField

public DataSourceSimpleTypeField(String name,
                                 SimpleType simpleType,
                                 String title,
                                 int length,
                                 boolean required)