com.smartgwt.client.data.fields
Class DataSourceSimpleTypeField
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.data.DataSourceField
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).
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)
|
Methods inherited from class com.smartgwt.client.data.DataSourceField |
convertToDataSourceFieldArray, getCanEdit, getCanExport, getCanFilter, getCanSave, getCanSortClientOnly, getChildrenProperty, getChildTagName, getDetail, getExportTitle, getForeignKey, getGroup, getHidden, getIgnore, getInapplicable, getJavaClass, getJavaCollectionClass, getJavaKeyClass, getLength, getMaxFileSize, getMultiple, getName, getOrCreateRef, getPluralTitle, getPrimaryKey, getPropertiesOnly, getRequired, getSequenceName, getShowFileInline, getStoreWithHash, getSummaryFunction, getTitle, getType, getTypeAsDataSource, getValueXPath, getXmlAttribute, setCanEdit, setCanExport, setCanFilter, setCanSave, setCanSortClientOnly, setChildrenProperty, setChildTagName, setDetail, setEditorType, setExportTitle, setFieldValueExtractor, setForeignKey, setGroup, setHidden, setIgnore, setInapplicable, setJavaClass, setJavaCollectionClass, setJavaKeyClass, setLength, setMaxFileSize, setMultiple, setName, setPluralTitle, setPrimaryKey, setPropertiesOnly, setRequired, setRootValue, setRootValue, setRootValue, setSequenceName, setShowFileInline, setStoreWithHash, setSummaryFunction, setSummaryFunction, 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, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsObject, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)