edu.udo.cs.yale.gui.viewer
Class DataTableViewerTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by edu.udo.cs.yale.gui.viewer.DataTableViewerTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class DataTableViewerTableModel
extends javax.swing.table.AbstractTableModel

The model for the DataTableViewerTable.

Version:
$Id: DataTableViewerTableModel.java,v 1.2 2006/08/03 14:39:36 ingomierswa Exp $
Author:
Ingo Mierswa
See Also:
Serialized Form

Field Summary
private  DataTable dataTable
           
private static long serialVersionUID
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
DataTableViewerTableModel(DataTable dataTable)
           
 
Method Summary
 int getColumnCount()
           
 java.lang.String getColumnName(int col)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int col)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, 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

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

dataTable

private DataTable dataTable
Constructor Detail

DataTableViewerTableModel

public DataTableViewerTableModel(DataTable dataTable)
Method Detail

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)

getColumnName

public java.lang.String getColumnName(int col)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel


Copyright © 2001-2006