public class TextExportSettings extends TextSettings
DataSource.recordsAsText()
.config, configOnly, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
TextExportSettings() |
TextExportSettings(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
DateDisplayFormat |
getDateFormat()
Format to use when outputting date values.
|
DateDisplayFormat |
getDateTimeFormat()
Format to use when outputting datetime values.
|
ForceTextApproach |
getForceText()
If set, all text fields will use the indicated
ForceTextApproach unless they have a
specific setting for DataSourceField.exportForceText . |
java.lang.String |
getLineSeparator()
Separator between Records.
|
java.lang.String |
getNullValueText()
Text to export for a field with a null value.
|
static TextExportSettings |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.Boolean |
getQuoteValues()
Whether to surround each value with quotes ("").
|
TimeDisplayFormat |
getTimeFormat()
Format to use when outputting time values.
|
java.lang.Boolean |
getUseDisplayValue()
Whether to convert each field's value to the corresponding display value for export.
|
TextExportSettings |
setDateFormat(DateDisplayFormat dateFormat)
Format to use when outputting date values.
|
TextExportSettings |
setDateTimeFormat(DateDisplayFormat dateTimeFormat)
Format to use when outputting datetime values.
|
TextExportSettings |
setForceText(ForceTextApproach forceText)
If set, all text fields will use the indicated
ForceTextApproach unless they have a
specific setting for DataSourceField.exportForceText . |
TextExportSettings |
setLineSeparator(java.lang.String lineSeparator)
Separator between Records.
|
TextExportSettings |
setNullValueText(java.lang.String nullValueText)
Text to export for a field with a null value.
|
TextExportSettings |
setQuoteValues(java.lang.Boolean quoteValues)
Whether to surround each value with quotes ("").
|
TextExportSettings |
setTimeFormat(TimeDisplayFormat timeFormat)
Format to use when outputting time values.
|
TextExportSettings |
setUseDisplayValue(java.lang.Boolean useDisplayValue)
Whether to convert each field's value to the corresponding display value for export.
|
getEscapingMode, getFieldList, getFieldSeparator, getJsObj, getOrCreateJsObj, isCreated, setEscapingMode, setFieldList, setFieldSeparator, setJavaScriptObject
addDynamicProperty, addDynamicProperty, addDynamicProperty, applyFactoryProperties, asSGWTComponent, clearDynamicProperty, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getID, getRef, getRuleScope, getScClassName, getTestInstance, hasAutoAssignedID, hasDynamicProperty, internalSetID, internalSetID, isConfigOnly, isFactoryCreated, onBind, onInit, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setFactoryCreated, setID, setProperty, setProperty, setProperty, setProperty, setRuleScope, setScClassName
public TextExportSettings()
public TextExportSettings(com.google.gwt.core.client.JavaScriptObject jsObj)
public static TextExportSettings getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public com.google.gwt.core.client.JavaScriptObject create()
create
in class TextSettings
public TextExportSettings setDateFormat(DateDisplayFormat dateFormat) throws java.lang.IllegalStateException
ExcelPasting
). The current
month-day-year order as set by DateUtil.setInputFormat()
will
be used.dateFormat
- New dateFormat value. Default value is nullTextExportSettings
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic DateDisplayFormat getDateFormat()
ExcelPasting
). The current
month-day-year order as set by DateUtil.setInputFormat()
will
be used.public TextExportSettings setDateTimeFormat(DateDisplayFormat dateTimeFormat) throws java.lang.IllegalStateException
dateTimeFormat
- New dateTimeFormat value. Default value is nullTextExportSettings
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic DateDisplayFormat getDateTimeFormat()
public TextExportSettings setForceText(ForceTextApproach forceText) throws java.lang.IllegalStateException
ForceTextApproach
unless they have a
specific setting for DataSourceField.exportForceText
.forceText
- New forceText value. Default value is nullTextExportSettings
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic ForceTextApproach getForceText()
ForceTextApproach
unless they have a
specific setting for DataSourceField.exportForceText
.public TextExportSettings setLineSeparator(java.lang.String lineSeparator) throws java.lang.IllegalStateException
setLineSeparator
in class TextSettings
lineSeparator
- New lineSeparator value. Default value is "\n"TextExportSettings
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getLineSeparator()
getLineSeparator
in class TextSettings
public TextExportSettings setNullValueText(java.lang.String nullValueText) throws java.lang.IllegalStateException
nullValueText
- New nullValueText value. Default value is ""TextExportSettings
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getNullValueText()
public TextExportSettings setQuoteValues(java.lang.Boolean quoteValues) throws java.lang.IllegalStateException
quoteValues
- New quoteValues value. Default value is trueTextExportSettings
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getQuoteValues()
public TextExportSettings setTimeFormat(TimeDisplayFormat timeFormat) throws java.lang.IllegalStateException
timeFormat
- New timeFormat value. Default value is nullTextExportSettings
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic TimeDisplayFormat getTimeFormat()
public TextExportSettings setUseDisplayValue(java.lang.Boolean useDisplayValue) throws java.lang.IllegalStateException
useDisplayValue
- New useDisplayValue value. Default value is falseTextExportSettings
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getUseDisplayValue()