|
ElVis Java Interface | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sv.graph.Fx sv.graph.DataTable
A DataTable contains a grid of cells. Each cell can contain a string, an integer, a float, or a double. The first row of cells is used as the column header values. All cells are non-editable. The column width and column order can be interactively changed in the display.
Field Summary |
Fields inherited from class sv.graph.Fx |
ALGEBRAIC, AUTOMATIC, LINEAR, LOGARITHMIC, SCIENTIFIC, shot, units |
Constructor Summary | |
DataTable(int r,
int c)
Create a DataTable. |
|
DataTable(java.lang.String graphName)
|
Method Summary | |
void |
setValue(int row,
int column,
double d)
Put a double into a cell. |
void |
setValue(int row,
int column,
float f)
Put a float into a cell. |
void |
setValue(int row,
int column,
int i)
Put an integer into a cell. |
void |
setValue(int row,
int column,
java.lang.String s)
Put a string into a cell. |
Methods inherited from class sv.graph.Fx |
addDataset, addLabel, addLegendTitle, findClosestDataset, getLegendTitle, getTitleLabel, getXLabel, getXNumberStyle, getXRange, getYLabel, getYNumberStyle, getYRange, isLegend, isShowLines, isShowMarkers, isXGridlines, isYGridlines, setLegendTitle, setLocation, setPlotOrigin, setPlotSize, setScalable, setTitleLabel, setTitleLabel, setXLabel, setXLabel, setXNumberStyle, setXRange, setYLabel, setYLabel, setYLabel, setYNumberStyle, setYRange, showGridlines, showLegend, showLines, showMarkers |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataTable(java.lang.String graphName)
public DataTable(int r, int c)
r
- - The number of rows in the table.c
- - The number of columns in the table.Method Detail |
public void setValue(int row, int column, java.lang.String s)
row
- - The row number of the cell.column
- - The column number of the cell.public void setValue(int row, int column, int i)
row
- - The row number of the cell.column
- - The column number of the cell.public void setValue(int row, int column, float f)
row
- - The row number of the cell.column
- - The column number of the cell.public void setValue(int row, int column, double d)
row
- - The row number of the cell.column
- - The column number of the cell.
|
ElVis Java Interface | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |