java.lang.Object | ||
↳ | javax.swing.table.AbstractTableModel | |
↳ | org.jfree.data.time.TimeSeriesTableModel |
Wrapper around a time series to convert it to a table model for use in
a JTable
.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
| |||||||||||
Constructs a table model for a time series.
| |||||||||||
Creates a table model based on a time series.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the column class in the table model.
| |||||||||||
Returns the number of columns in the table model.
| |||||||||||
Returns the name of a column
| |||||||||||
Returns the number of rows in the table model.
| |||||||||||
Returns the data value for a cell in the table model.
| |||||||||||
Returns a flag indicating whether or not the specified cell is editable.
| |||||||||||
Receives notification that the time series has been changed.
| |||||||||||
Updates the time series.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Default constructor.
Constructs a table model for a time series.
series | the time series. |
---|
Creates a table model based on a time series.
series | the time series. |
---|---|
editable | if |
Returns the column class in the table model.
column | The column index. |
---|
Returns the number of columns in the table model. For this particular model, the column count is fixed at 2.
Returns the name of a column
column | the column index. |
---|
Returns the number of rows in the table model.
Returns the data value for a cell in the table model.
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.
Receives notification that the time series has been changed. Responds by firing a table data change event.
event | the event. |
---|
Updates the time series.
value | the new value. |
---|---|
row | the row. |
column | the column. |