public class SNTTable extends DefaultGenericTable
DefaultGenericTable
with (minor) scripting conveniences.modCount
Modifier and Type | Method and Description |
---|---|
void |
addColumn(String colHeader,
Collection<Double> array) |
void |
addColumn(String colHeader,
double[] array) |
void |
appendToLastRow(String colHeader,
Object value) |
void |
fillEmptyCells(Object value) |
boolean |
hasUnsavedData() |
int |
insertRow(String header) |
Column<? extends Object> |
removeColumn(String header) |
void |
save(File outputFile) |
boolean |
save(String filePath) |
void |
set(int col,
int row,
Object value) |
void |
set(String colHeader,
int row,
Object value) |
void |
set(String colHeader,
String rowHeader,
Object value) |
void |
setContext(Context context)
Sets a SciJava context to this table.
|
static String |
toString(GenericTable table,
int firstRow,
int lastRow) |
protected void |
validate() |
createColumn
add, add, addAll, addAll, getRowCount, getRowHeader, insertColumns, removeRows, setColumnCount, setRowCount, setRowHeader
ensureCapacity, setSize
clear, clone, contains, forEach, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, appendColumn, appendColumn, appendColumns, appendColumns, appendRow, appendRow, appendRows, appendRows, clear, contains, containsAll, get, get, get, get, getColumnCount, getColumnHeader, getColumnIndex, getRowCount, getRowHeader, getRowIndex, indexOf, insertColumn, insertColumn, insertColumns, insertColumns, insertRow, insertRow, insertRows, insertRows, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeColumn, removeColumns, removeColumns, removeRow, removeRow, removeRows, removeRows, retainAll, set, setColumnCount, setColumnHeader, setDimensions, setRowCount, setRowHeader, size, subList, toArray, toArray
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public SNTTable()
public SNTTable(String filePath) throws IOException
IOException
protected void validate()
public void fillEmptyCells(Object value)
public boolean hasUnsavedData()
public void addColumn(String colHeader, double[] array)
public void addColumn(String colHeader, Collection<Double> array)
public int insertRow(String header)
public void set(int col, int row, Object value)
public boolean save(String filePath)
public void setContext(Context context) throws IllegalArgumentException
context
- the SciJava application contextIllegalArgumentException
public void save(File outputFile) throws IOException
IOException
public static String toString(GenericTable table, int firstRow, int lastRow)
Copyright © 2015–2021 Fiji. All rights reserved.