Class XYDatasetTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
org.jfree.data.xy.XYDatasetTableModel
All Implemented Interfaces:
Serializable, EventListener, TableModel, DatasetChangeListener

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:

  • implement proper naming for x axis (getColumnName)
  • implement setValueAt to remove READ-ONLY constraint (not sure how)
See Also: