public class SPsheet extends Object
| Constructor and Description |
|---|
SPsheet()
Show empty spreadsheet
|
SPsheet(CSVReader reader)
Open spreadsheet and load csv file
|
SPsheet(DataHolder dh)
Build a spreadsheet from multidimensional data holder
|
SPsheet(F1D f1d)
Build a spreadsheet from the F1D function
|
SPsheet(H1D h1d)
Build a spreadsheet from the H1D histogram
|
SPsheet(P1D p1d)
Build a spreadsheet from the P1D container
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRow()
Adds row to end of table
|
void |
doc()
Show online documentation.
|
void |
fillWithVectors(String title,
Vector names,
Vector data)
Fill the table from the Vectors
|
Object |
getValueAt(int aRow,
int aColumn)
This method returns the cell object at those coordinates.
|
void |
setCellAt(Object input,
int aRow,
int aColumn)
This fill assumes that the object passes to it is already the correct
object to set the value of the cell as.
|
void |
setValueAt(Object aValue,
int aRow,
int aColumn)
This method sets the value of the cell specified with these coordinates
to aValue.
|
public SPsheet()
public SPsheet(P1D p1d)
p1d - Input containerpublic SPsheet(CSVReader reader) throws IOException
reader - CSVReaderIOExceptionpublic SPsheet(H1D h1d)
h1d - Input histogrampublic SPsheet(F1D f1d)
f1d - Input functionpublic SPsheet(DataHolder dh)
dh - Input datapublic void addRow()
public void setValueAt(Object aValue, int aRow, int aColumn)
aValue - value to set cell toaRow - row coordinate of cellaColumn - column coordinate of cellpublic void setCellAt(Object input, int aRow, int aColumn)
input - object to set the Cell value asaRow - row of cell to setaColumn - column of cell to setpublic void fillWithVectors(String title, Vector names, Vector data)
title - New titlenames - Vector with namesdata - Vector with the datapublic Object getValueAt(int aRow, int aColumn)
aRow - the row coordinateaColumn - the column coordinatepublic void doc()
jHepWork 3.5 ©