ImportTableOptions

Inheritance: java.lang.Object

public class ImportTableOptions

Represents the options of importing data into cells.

Constructors

ConstructorDescription
ImportTableOptions()Creates the default importing options.

Methods

MethodDescription
equals(Object arg0)
getCheckMergedCells()Indicates whether checking merged cells.
getClass()
getColumnIndexes()Gets the columns(0-based) to import from data source. null means all columns should be imported.
getConvertGridStyle()Indicates whether apply the style of the grid view to cells.
getConvertNumericData()Gets a value that indicates whether the string value should be converted to numeric or date value.
getDateFormat()Gets date format string for cells with imported datetime values.
getDefaultValues()Default value for the value in the table is null.
getExportCaptionAsFieldName()Indicates whether exporting caption as field name
getInsertRows()Indicates whether new rows should be added for importing data records.
getNumberFormats()Gets the number formats
getShiftFirstRowDown()Indicates whether shifting the first row down when inserting rows.
getTotalColumns()Gets total column count to import from data source. -1 means all rows of given data source.
getTotalRows()Gets total row count to import from data source. -1 means all rows of given data source.
hashCode()
isFieldNameShown()Indicates whether field name should be imported.
isFormulas()Indicates whether the data are formulas.
isHtmlString()Indicates whether the value contains html tags.
notify()
notifyAll()
setCheckMergedCells(boolean value)Indicates whether checking merged cells.
setColumnIndexes(int[] value)Sets the columns(0-based) to import from data source. null means all columns should be imported.
setConvertGridStyle(boolean value)Indicates whether apply the style of the grid view to cells.
setConvertNumericData(boolean value)Sets a value that indicates whether the string value should be converted to numeric or date value.
setDateFormat(String value)Sets date format string for cells with imported datetime values.
setDefaultValues(Object[] value)Default value for the value in the table is null.
setExportCaptionAsFieldName(boolean value)Indicates whether exporting caption as field name
setFieldNameShown(boolean value)Indicates whether field name should be imported.
setFormulas(boolean[] value)Indicates whether the data are formulas.
setHtmlString(boolean value)Indicates whether the value contains html tags.
setInsertRows(boolean value)Indicates whether new rows should be added for importing data records.
setNumberFormats(String[] value)Sets the number formats
setShiftFirstRowDown(boolean value)Indicates whether shifting the first row down when inserting rows.
setTotalColumns(int value)Sets total column count to import from data source. -1 means all rows of given data source.
setTotalRows(int value)Sets total row count to import from data source. -1 means all rows of given data source.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ImportTableOptions()

public ImportTableOptions()

Creates the default importing options.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getCheckMergedCells()

public boolean getCheckMergedCells()

Indicates whether checking merged cells.

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColumnIndexes()

public int[] getColumnIndexes()

Gets the columns(0-based) to import from data source. null means all columns should be imported.

Returns: int[]

getConvertGridStyle()

public boolean getConvertGridStyle()

Indicates whether apply the style of the grid view to cells.

Returns: boolean

getConvertNumericData()

public boolean getConvertNumericData()

Gets a value that indicates whether the string value should be converted to numeric or date value.

Returns: boolean

getDateFormat()

public String getDateFormat()

Gets date format string for cells with imported datetime values.

Returns: java.lang.String

getDefaultValues()

public Object[] getDefaultValues()

Default value for the value in the table is null.

Returns: java.lang.Object[]

getExportCaptionAsFieldName()

public boolean getExportCaptionAsFieldName()

Indicates whether exporting caption as field name

Remarks

Only works for DataTable.

Returns: boolean

getInsertRows()

public boolean getInsertRows()

Indicates whether new rows should be added for importing data records.

Returns: boolean

getNumberFormats()

public String[] getNumberFormats()

Gets the number formats

Returns: java.lang.String[]

getShiftFirstRowDown()

public boolean getShiftFirstRowDown()

Indicates whether shifting the first row down when inserting rows.

Returns: boolean

getTotalColumns()

public int getTotalColumns()

Gets total column count to import from data source. -1 means all rows of given data source.

Returns: int

getTotalRows()

public int getTotalRows()

Gets total row count to import from data source. -1 means all rows of given data source.

Returns: int

hashCode()

public native int hashCode()

Returns: int

isFieldNameShown()

public boolean isFieldNameShown()

Indicates whether field name should be imported.

Returns: boolean

isFormulas()

public boolean[] isFormulas()

Indicates whether the data are formulas.

Returns: boolean[]

isHtmlString()

public boolean isHtmlString()

Indicates whether the value contains html tags.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setCheckMergedCells(boolean value)

public void setCheckMergedCells(boolean value)

Indicates whether checking merged cells.

Parameters:

ParameterTypeDescription
valueboolean

setColumnIndexes(int[] value)

public void setColumnIndexes(int[] value)

Sets the columns(0-based) to import from data source. null means all columns should be imported.

Parameters:

ParameterTypeDescription
valueint[]

setConvertGridStyle(boolean value)

public void setConvertGridStyle(boolean value)

Indicates whether apply the style of the grid view to cells.

Parameters:

ParameterTypeDescription
valueboolean

setConvertNumericData(boolean value)

public void setConvertNumericData(boolean value)

Sets a value that indicates whether the string value should be converted to numeric or date value.

Parameters:

ParameterTypeDescription
valueboolean

setDateFormat(String value)

public void setDateFormat(String value)

Sets date format string for cells with imported datetime values.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setDefaultValues(Object[] value)

public void setDefaultValues(Object[] value)

Default value for the value in the table is null.

Parameters:

ParameterTypeDescription
valuejava.lang.Object[]

setExportCaptionAsFieldName(boolean value)

public void setExportCaptionAsFieldName(boolean value)

Indicates whether exporting caption as field name

Remarks

Only works for DataTable.

Parameters:

ParameterTypeDescription
valueboolean

setFieldNameShown(boolean value)

public void setFieldNameShown(boolean value)

Indicates whether field name should be imported.

Parameters:

ParameterTypeDescription
valueboolean

setFormulas(boolean[] value)

public void setFormulas(boolean[] value)

Indicates whether the data are formulas.

Parameters:

ParameterTypeDescription
valueboolean[]

setHtmlString(boolean value)

public void setHtmlString(boolean value)

Indicates whether the value contains html tags.

Parameters:

ParameterTypeDescription
valueboolean

setInsertRows(boolean value)

public void setInsertRows(boolean value)

Indicates whether new rows should be added for importing data records.

Parameters:

ParameterTypeDescription
valueboolean

setNumberFormats(String[] value)

public void setNumberFormats(String[] value)

Sets the number formats

Parameters:

ParameterTypeDescription
valuejava.lang.String[]

setShiftFirstRowDown(boolean value)

public void setShiftFirstRowDown(boolean value)

Indicates whether shifting the first row down when inserting rows.

Parameters:

ParameterTypeDescription
valueboolean

setTotalColumns(int value)

public void setTotalColumns(int value)

Sets total column count to import from data source. -1 means all rows of given data source.

Parameters:

ParameterTypeDescription
valueint

setTotalRows(int value)

public void setTotalRows(int value)

Sets total row count to import from data source. -1 means all rows of given data source.

Parameters:

ParameterTypeDescription
valueint

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int