|
|||||||||
| PREV CLASS NEXT CLASS | All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhplot.SPsheet
public class SPsheet
A spreadsheet class to display the data.
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SPsheet()
public SPsheet(P1D p1d)
p1d - Input container
public SPsheet(CSVReader reader)
throws IOException
reader - CSVReader
IOExceptionpublic SPsheet(H1D h1d)
h1d - Input histogrampublic SPsheet(F1D f1d)
f1d - Input functionpublic SPsheet(DataHolder dh)
dh - Input data| Method Detail |
|---|
public void addRow()
public void setValueAt(Object aValue,
int aRow,
int aColumn)
aValue - value to set cell toaRow - row coordinate of cellaColumn - column coordinate of cell
public 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 set
public void fillWithVectors(String title,
Vector names,
Vector data)
title - New titlenames - Vector with namesdata - Vector with the data
public Object getValueAt(int aRow,
int aColumn)
aRow - the row coordinateaColumn - the column coordinate
public void doc()
|
|||||||||
| PREV CLASS NEXT CLASS | All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||