nl.tudelft.simulation.jstats.statistics
Class StatisticsTableModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byjavax.swing.table.DefaultTableModel
          extended bynl.tudelft.simulation.jstats.statistics.StatisticsTableModel
All Implemented Interfaces:
java.util.EventListener, nl.tudelft.simulation.event.EventListenerInterface, java.io.Serializable, javax.swing.table.TableModel

public class StatisticsTableModel
extends javax.swing.table.DefaultTableModel
implements nl.tudelft.simulation.event.EventListenerInterface

The StatisticsTableModel class defines the tableModel used by the statistics objects.

(c) copyright 2003-2004 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Since:
1.2
Version:
1.7, 2004-03-24
Author:
Peter Jacobs
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
StatisticsTableModel(java.lang.Object[] columnNames, nl.tudelft.simulation.event.EventType[] eventTypes, int rows)
          constructs a new StatisticsTableModel
 
Method Summary
 void notify(nl.tudelft.simulation.event.EventInterface event)
           
 
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, isCellEditable, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticsTableModel

public StatisticsTableModel(java.lang.Object[] columnNames,
                            nl.tudelft.simulation.event.EventType[] eventTypes,
                            int rows)
constructs a new StatisticsTableModel

Parameters:
columnNames - the names of the columns
eventTypes - the eventTypes representing the column
rows - the number of rows
Method Detail

notify

public void notify(nl.tudelft.simulation.event.EventInterface event)
Specified by:
notify in interface nl.tudelft.simulation.event.EventListenerInterface
See Also:
#notify(nl.tudelft.simulation.event.EventInterface)


Copyright © 2002-2004 Delft University of Technology, the Netherlands. All Rights Reserved.