|
|||||||||
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(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 |
fillWithVectors(java.lang.String title,
java.util.Vector names,
java.util.Vector data)
Fill the table from the Vectors |
java.lang.Object |
getValueAt(int aRow,
int aColumn)
This method returns the cell object at those coordinates. |
void |
setCellAt(java.lang.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(java.lang.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 containerpublic SPsheet(H1D h1d)
h1d
- Input histogrampublic SPsheet(F1D f1d)
f1d
- Input functionpublic SPsheet(DataHolder dh)
dh
- Input dataMethod Detail |
---|
public void setValueAt(java.lang.Object aValue, int aRow, int aColumn)
aValue
- value to set cell toaRow
- row coordinate of cellaColumn
- column coordinate of cellpublic void setCellAt(java.lang.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(java.lang.String title, java.util.Vector names, java.util.Vector data)
title
- New titlenames
- Vector with namesdata
- Vector with the datapublic java.lang.Object getValueAt(int aRow, int aColumn)
aRow
- the row coordinateaColumn
- the column coordinate
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |