|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
kea.programs.jPrimrose.ReportGraphTableModel
public final class ReportGraphTableModel
Table model for report graph-table.
Field Summary | |
---|---|
static kea.programs.plot.CoordinateCollection[] |
NULL_DATA
Null data for displaying in table. |
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
ReportGraphTableModel()
Creates a new instance of class. |
Method Summary | |
---|---|
java.lang.Class |
getColumnClass(int columnIndex)
Overridden AbstractTableModel method. |
int |
getColumnCount()
Implementation of AbstractTableModel method. |
java.lang.String |
getColumnName(int columnIndex)
Overridden AbstractTableModel method. |
int |
getRowCount()
Implementaion of AbstractTableModel method. |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Implementation of AstractTableModel method. |
void |
setColumnWidths(javax.swing.JTable table)
Sets widths of columns. |
void |
updateModel(kea.programs.plot.CoordinateCollection[] collections)
Update model with new data for display. |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final kea.programs.plot.CoordinateCollection[] NULL_DATA
Constructor Detail |
---|
public ReportGraphTableModel()
Method Detail |
---|
public void updateModel(kea.programs.plot.CoordinateCollection[] collections)
collections
- Array of CoordinateCollection objects containing data
to display.public int getColumnCount()
public int getRowCount()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
rowIndex
- Row index number for cell.columnIndex
- Column index number for cell.
public java.lang.String getColumnName(int columnIndex)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
columnIndex
- Column index number.
public java.lang.Class getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
columnIndex
- Column index number.
public void setColumnWidths(javax.swing.JTable table)
table
- JTable object within which columns will be displayed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |