| java.lang.Object javax.swing.table.AbstractTableModel org.jfree.data.time.TimeSeriesTableModel
Method Summary | |
public Class | getColumnClass(int column) Returns the column class in the table model.
Parameters: column - The column index. | public int | getColumnCount() Returns the number of columns in the table model. | public String | getColumnName(int column) Returns the name of a column
Parameters: column - the column index. | public int | getRowCount() Returns the number of rows in the table model. | public Object | getValueAt(int row, int column) Returns the data value for a cell in the table model.
Parameters: row - the row number. Parameters: column - the column number. | public boolean | isCellEditable(int row, int column) Returns a flag indicating whether or not the specified cell is editable.
Parameters: row - the row number. Parameters: column - the column number. | public void | seriesChanged(SeriesChangeEvent event) Receives notification that the time series has been changed. | public void | setValueAt(Object value, int row, int column) Updates the time series. |
TimeSeriesTableModel | public TimeSeriesTableModel()(Code) | | Default constructor.
|
TimeSeriesTableModel | public TimeSeriesTableModel(TimeSeries series)(Code) | | Constructs a table model for a time series.
Parameters: series - the time series. |
TimeSeriesTableModel | public TimeSeriesTableModel(TimeSeries series, boolean editable)(Code) | | Creates a table model based on a time series.
Parameters: series - the time series. Parameters: editable - if true, the table is editable. |
getColumnClass | public Class getColumnClass(int column)(Code) | | Returns the column class in the table model.
Parameters: column - The column index. The column class in the table model. |
getColumnCount | public int getColumnCount()(Code) | | Returns the number of columns in the table model. For this particular
model, the column count is fixed at 2.
The column count. |
getColumnName | public String getColumnName(int column)(Code) | | Returns the name of a column
Parameters: column - the column index. The name of a column. |
getRowCount | public int getRowCount()(Code) | | Returns the number of rows in the table model.
The row count. |
getValueAt | public Object getValueAt(int row, int column)(Code) | | Returns the data value for a cell in the table model.
Parameters: row - the row number. Parameters: column - the column number. The data value for a cell in the table model. |
isCellEditable | public boolean isCellEditable(int row, int column)(Code) | | Returns a flag indicating whether or not the specified cell is editable.
Parameters: row - the row number. Parameters: column - the column number. true if the specified cell is editable. |
seriesChanged | public void seriesChanged(SeriesChangeEvent event)(Code) | | Receives notification that the time series has been changed. Responds
by firing a table data change event.
Parameters: event - the event. |
setValueAt | public void setValueAt(Object value, int row, int column)(Code) | | Updates the time series.
Parameters: value - the new value. Parameters: row - the row. Parameters: column - the column. |
|
|