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.
|
void |
setDateFormat(DateDisplayFormat dateFormat)
Format to use when outputting date values.
|
void |
setDateTimeFormat(DateDisplayFormat dateTimeFormat)
Format to use when outputting datetime values.
|
void |
setForceText(ForceTextApproach forceText)
If set, all text fields will use the indicated
ForceTextApproach unless they have a
specific setting for DataSourceField.exportForceText. |
void |
setLineSeparator(java.lang.String lineSeparator)
Separator between Records.
|
void |
setNullValueText(java.lang.String nullValueText)
Text to export for a field with a null value.
|
void |
setQuoteValues(java.lang.Boolean quoteValues)
Whether to surround each value with quotes ("").
|
void |
setTimeFormat(TimeDisplayFormat timeFormat)
Format to use when outputting time values.
|
void |
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, setJavaScriptObjectapplyFactoryProperties, asSGWTComponent, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getID, getRef, getScClassName, getTestInstance, hasAutoAssignedID, 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, setScClassNamepublic 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 TextSettingspublic void 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 nulljava.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 void setDateTimeFormat(DateDisplayFormat dateTimeFormat) throws java.lang.IllegalStateException
dateTimeFormat - New dateTimeFormat value. Default value is nulljava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic DateDisplayFormat getDateTimeFormat()
public void setForceText(ForceTextApproach forceText) throws java.lang.IllegalStateException
ForceTextApproach unless they have a
specific setting for DataSourceField.exportForceText.forceText - New forceText value. Default value is nulljava.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 void setLineSeparator(java.lang.String lineSeparator)
throws java.lang.IllegalStateException
setLineSeparator in class TextSettingslineSeparator - New lineSeparator value. Default value is "\n"java.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic java.lang.String getLineSeparator()
getLineSeparator in class TextSettingspublic void setNullValueText(java.lang.String nullValueText)
throws java.lang.IllegalStateException
nullValueText - New nullValueText value. Default value is ""java.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic java.lang.String getNullValueText()
public void setQuoteValues(java.lang.Boolean quoteValues)
throws java.lang.IllegalStateException
quoteValues - New quoteValues value. Default value is truejava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getQuoteValues()
public void setTimeFormat(TimeDisplayFormat timeFormat) throws java.lang.IllegalStateException
timeFormat - New timeFormat value. Default value is nulljava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic TimeDisplayFormat getTimeFormat()
public void setUseDisplayValue(java.lang.Boolean useDisplayValue)
throws java.lang.IllegalStateException
useDisplayValue - New useDisplayValue value. Default value is falsejava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getUseDisplayValue()