public interface TableBaseFeature extends ResultBaseFeature
| Modifier and Type | Method and Description |
|---|---|
void |
clearTableData()
Remove all data in the table.
|
java.lang.String[] |
getColumnHeaders()
Get the table's column headers.
|
double[][] |
getImag()
Get the imaginary data in the table.
|
double[] |
getImagRow(int index)
Get the imaginary data in a row (0-index).
|
int |
getNRows()
Get the number of rows in the table.
|
double[][] |
getReal()
Get the real data in the table.
|
double[] |
getRealRow(int index)
Get the real data in a row (0-index).
|
java.lang.String[][] |
getTableData(boolean fullPrecision)
Get the table data as a string matrix, with or without full precision.
|
java.lang.String[] |
getTableRow(int index,
boolean fullPrecision)
Get the table data of one row as a string array.
|
boolean |
isComplex()
Check if the table has allocated complex data.
|
void |
removeColumn(int index)
Remove a column with a given index, if it exists.
|
void |
removeRow(int index)
Remove a row with a given index, if it exists.
|
void |
save(java.lang.String filename)
Save the table data in full precision to a text file.
|
void |
save(java.lang.String filename,
boolean fullPrecision)
Save the table data to a text file.
|
void |
saveFile(java.lang.String path)
Saves to a file.
|
void |
saveFile(java.lang.String path,
java.lang.String sheet,
java.lang.String range,
boolean includeHeaders,
boolean overwrite)
Saves to an Excel-file in a specified range, or at a cell to start
from, in a specified sheet.
|
void |
setColumnHeaders(java.lang.String[] value)
Set the table's column headers, but leave the table's data unchanged.
|
void |
setTableData(double[][] realData)
Set the real data in the table.
|
void |
setTableData(double[][] realData,
double[][] imagData)
Set the real and imaginary data in the table.
|
hasWarning, problem, problemgetAllowedPropertyValues, getBoolean, getBoolean, getBoolean, getBooleanArray, getBooleanMatrix, getDouble, getDouble, getDouble, getDoubleArray, getDoubleMatrix, getEntryKeyIndex, getEntryKeys, getInt, getInt, getInt, getIntArray, getIntMatrix, getReferenceArray, getString, getString, getString, getString, getStringArray, getStringMatrix, getType, getValueType, hasProperty, hasSelection, move, move, properties, remove, remove, selection, set, set, set, set, set, set, set, set, set, set, set, set, setEntry, setEntry, setEntry, setEntry, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndexselectionactive, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, versiongetContainer, getDisplayStringvoid clearTableData()
java.lang.String[] getColumnHeaders()
double[][] getImag()
all
format.double[] getImagRow(int index)
index - Row index.int getNRows()
double[][] getReal()
all format.double[] getRealRow(int index)
index - Row index.java.lang.String[][] getTableData(boolean fullPrecision)
fullPrecision - true for full precision.java.lang.String[] getTableRow(int index,
boolean fullPrecision)
index - Row index.fullPrecision - true for full precision.boolean isComplex()
true if complex.void removeColumn(int index)
index - Column index.void removeRow(int index)
index - Row index.void save(java.lang.String filename)
filename - File name.void save(java.lang.String filename,
boolean fullPrecision)
filename - File name.fullPrecision - true for full precision.void saveFile(java.lang.String path)
path - Path to file.void saveFile(java.lang.String path,
java.lang.String sheet,
java.lang.String range,
boolean includeHeaders,
boolean overwrite)
path - Path to file.sheet - The Excel-sheet to use.range - The range, or a starting cell.includeHeaders - True if column headers are to be written.overwrite - True if an existing file is to be overwritten, or if an error should
be cast in that instance.void setColumnHeaders(java.lang.String[] value)
value - The column headers.void setTableData(double[][] realData)
realData - Matrix of real table data.void setTableData(double[][] realData,
double[][] imagData)
realData - Matrix of real table data.imagData - Matrix of imaginary table data.