public class TextSettings extends BaseClass
TextImportSettings
.config, configOnly, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
TextSettings() |
TextSettings(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
EscapingMode |
getEscapingMode()
EscapingMode expected for escaping special characters embedded in text values. |
java.lang.String[] |
getFieldList()
For export, a set of fields to export.
|
java.lang.String |
getFieldSeparator()
Separator between field values.
|
com.google.gwt.core.client.JavaScriptObject |
getJsObj() |
java.lang.String |
getLineSeparator()
Separator between Records.
|
com.google.gwt.core.client.JavaScriptObject |
getOrCreateJsObj() |
static TextSettings |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
boolean |
isCreated() |
TextSettings |
setEscapingMode(EscapingMode escapingMode)
EscapingMode expected for escaping special characters embedded in text values. |
TextSettings |
setFieldList(java.lang.String... fieldList)
For export, a set of fields to export.
|
TextSettings |
setFieldSeparator(java.lang.String fieldSeparator)
Separator between field values.
|
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
TextSettings |
setLineSeparator(java.lang.String lineSeparator)
Separator between Records.
|
addDynamicProperty, 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 TextSettings()
public TextSettings(com.google.gwt.core.client.JavaScriptObject jsObj)
public static TextSettings getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
setJavaScriptObject
in class BaseClass
public com.google.gwt.core.client.JavaScriptObject create()
public com.google.gwt.core.client.JavaScriptObject getJsObj()
public com.google.gwt.core.client.JavaScriptObject getOrCreateJsObj()
getOrCreateJsObj
in class BaseClass
public TextSettings setEscapingMode(EscapingMode escapingMode) throws java.lang.IllegalStateException
EscapingMode
expected for escaping special characters embedded in text values.escapingMode
- New escapingMode value. Default value is "backslash"TextSettings
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic EscapingMode getEscapingMode()
EscapingMode
expected for escaping special characters embedded in text values.public TextSettings setFieldList(java.lang.String... fieldList) throws java.lang.IllegalStateException
Fields may be specified that are not in the DataSource but for which data values are present in the provided Records. In this case the field is assumed to be of type "text".
For import, names of DataSource fields to use to parse values, in order.
If fieldList
is unset, DataSource fields are used, in order.
If more values exist in a given Record than the listed fields or than all DataSource fields, remaining values are ignored.
fieldList
- New fieldList value. Default value is nullTextSettings
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String[] getFieldList()
Fields may be specified that are not in the DataSource but for which data values are present in the provided Records. In this case the field is assumed to be of type "text".
For import, names of DataSource fields to use to parse values, in order.
If fieldList
is unset, DataSource fields are used, in order.
If more values exist in a given Record than the listed fields or than all DataSource fields, remaining values are ignored.
public TextSettings setFieldSeparator(java.lang.String fieldSeparator) throws java.lang.IllegalStateException
fieldSeparator
- New fieldSeparator value. Default value is ","TextSettings
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getFieldSeparator()
public TextSettings setLineSeparator(java.lang.String lineSeparator) throws java.lang.IllegalStateException
TextExportSettings
.lineSeparator
- New lineSeparator value. Default value is nullTextSettings
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getLineSeparator()
TextExportSettings
.