nl.tudelft.simulation.jstats.statistics
Class StatisticsTableModel

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

public class StatisticsTableModel
extends DefaultTableModel
implements EventListenerInterface

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

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

Since:
1.2
Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:25:43 $
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(Object[] columnNames, EventType[] eventTypes, int rows)
          constructs a new StatisticsTableModel
 
Method Summary
 void notify(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(Object[] columnNames,
                            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(EventInterface event)
Specified by:
notify in interface EventListenerInterface
See Also:
#notify(nl.tudelft.simulation.event.EventInterface)


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