Package com.smartgwt.client.data.fields
Class DataSourceImageField
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.DataSourceImageField
- All Implemented Interfaces:
HasHandlers
-
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
ConstructorDescriptionDataSourceImageField
(String name) DataSourceImageField
(String name, String title) DataSourceImageField
(String name, String title, int length) DataSourceImageField
(String name, String title, int length, boolean required) -
Method Summary
Modifier and TypeMethodDescriptionReturn the imageURLPrefix.void
setImageHeight
(String imageHeight) Height of the image-content of this field.void
setImageURLPrefix
(String imageURLPrefix) Set the imageURLPrefix.void
setImageWidth
(String imageWidth) Width of the image-content of this field.void
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, setImageSize, setImageSize, 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
-
DataSourceImageField
public DataSourceImageField() -
DataSourceImageField
-
DataSourceImageField
-
DataSourceImageField
-
DataSourceImageField
-
-
Method Details
-
setImageHeight
Description copied from class:DataSourceField
Height of the image-content of this field. If set as a string, represents the name of another field in the record that holds the imageHeight. Applicable only to fields of image type or fields that use aViewFileItem
as an editor.- Overrides:
setImageHeight
in classDataSourceField
- Parameters:
imageHeight
- imageHeight Default value is null
-
setImageWidth
Description copied from class:DataSourceField
Width of the image-content of this field. If set as a string, represents the name of another field in the record that holds the imageWidth. Applicable only to fields of image type or fields that use aViewFileItem
as an editor.- Overrides:
setImageWidth
in classDataSourceField
- Parameters:
imageWidth
- imageWidth Default value is null
-
setWidth
-
setImageURLPrefix
Set the imageURLPrefix.- Parameters:
imageURLPrefix
- the imageURLPrefix
-
getImageURLPrefix
Return the imageURLPrefix.- Returns:
- the imageURLPrefix
-