public class TextSettings extends BaseClass
TextImportSettings
.config, 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() |
void |
setEscapingMode(EscapingMode escapingMode)
EscapingMode expected for escaping special characters embedded in text values. |
void |
setFieldList(java.lang.String... fieldList)
For export, a set of fields to export.
|
void |
setFieldSeparator(java.lang.String fieldSeparator)
Separator between field values.
|
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
setLineSeparator(java.lang.String lineSeparator)
Separator between Records.
|
applyFactoryProperties, 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, 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, setFactoryCreated, setID, setProperty, setProperty, setProperty, setProperty, 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 void setEscapingMode(EscapingMode escapingMode) throws java.lang.IllegalStateException
EscapingMode
expected for escaping special characters embedded in text values.escapingMode
- Default value is "backslash"java.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 void 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
- Default value is nulljava.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 void setFieldSeparator(java.lang.String fieldSeparator) throws java.lang.IllegalStateException
fieldSeparator
- Default value is ","java.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getFieldSeparator()
public void setLineSeparator(java.lang.String lineSeparator) throws java.lang.IllegalStateException
TextExportSettings
.lineSeparator
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getLineSeparator()
TextExportSettings
.