java.lang.Object | ||
↳ | javax.swing.table.AbstractTableModel | |
↳ | org.jfree.data.xy.XYDatasetTableModel |
A READ-ONLY wrapper around a TableXYDataset
to convert it to a
table model for use in a JTable. The first column of the table shows the
x-values, the remaining columns show the y-values for each series (series 0
appears in column 1, series 1 appears in column 2, etc).
TO DO:
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
| |||||||||||
Creates a new table model based on the specified dataset.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Receives notification that the underlying dataset has changed.
| |||||||||||
Gets the number of columns in the model.
| |||||||||||
Returns the column name.
| |||||||||||
Returns the number of rows.
| |||||||||||
Returns a value of the specified cell.
| |||||||||||
Returns a flag indicating whether or not the specified cell is editable.
| |||||||||||
Sets the model (dataset).
| |||||||||||
Updates the
XYDataset if allowed. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Default constructor.
Creates a new table model based on the specified dataset.
dataset | the dataset. |
---|
Receives notification that the underlying dataset has changed.
event | the event |
---|
Gets the number of columns in the model.
Returns the column name.
column | the column index. |
---|
Returns the number of rows.
Returns a value of the specified cell. Column 0 is the X axis, Columns 1 and over are the Y axis
row | the row number. |
---|---|
column | the column number. |
Returns a flag indicating whether or not the specified cell is editable.
row | the row number. |
---|---|
column | the column number. |
true
if the specified cell is editable.
Sets the model (dataset).
dataset | the dataset. |
---|
Updates the XYDataset
if allowed.
value | the new value. |
---|---|
row | the row. |
column | the column. |