de.fhkoeln.zra.statix
Class StatOutputTableModel

java.lang.Object
  |
  +--javax.swing.table.AbstractTableModel
        |
        +--de.fhkoeln.zra.statix.StatOutputTableModel
All Implemented Interfaces:
Serializable, TableModel

public class StatOutputTableModel
extends AbstractTableModel

Author:
Thies Hauschild, hld@gmx.net Tabellenmodell der Outputtabelle.
See Also:
Serialized Form

Field Summary
private  Vector body
           
private  Vector header
           
private  Hashtable otherSequences
           
private  Vector reihenfolge
           
private  int rows
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
StatOutputTableModel()
          Initialisiert das Tabellenmodell.
StatOutputTableModel(Vector reihenfolge, Hashtable otherSequences)
          Method StatOutputTableModel.
 
Method Summary
private  void calculate()
           
 Class getColumnClass(int c)
           
 int getColumnCount()
           
 String getColumnName(int columnIndex)
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 
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

header

private Vector header

body

private Vector body

rows

private int rows

reihenfolge

private Vector reihenfolge

otherSequences

private Hashtable otherSequences
Constructor Detail

StatOutputTableModel

public StatOutputTableModel()
Initialisiert das Tabellenmodell.


StatOutputTableModel

public StatOutputTableModel(Vector reihenfolge,
                            Hashtable otherSequences)
Method StatOutputTableModel.

Parameters:
otherSequences -
Method Detail

calculate

private void calculate()

getColumnName

public String getColumnName(int columnIndex)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel
See Also:
TableModel.getColumnName(int)

getColumnCount

public int getColumnCount()
See Also:
TableModel.getColumnCount()

getRowCount

public int getRowCount()
See Also:
TableModel.getRowCount()

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
See Also:
TableModel.getValueAt(int, int)

getColumnClass

public Class getColumnClass(int c)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel
See Also:
TableModel.getColumnClass(int)