nl.tudelft.simulation.jstats.statistics
Class StatisticsObject

java.lang.Object
  extended bynl.tudelft.simulation.event.EventProducer
      extended bynl.tudelft.simulation.jstats.statistics.StatisticsObject
All Implemented Interfaces:
nl.tudelft.simulation.event.EventProducerInterface, java.io.Serializable, Swingable
Direct Known Subclasses:
Counter, Tally

public abstract class StatisticsObject
extends nl.tudelft.simulation.event.EventProducer
implements Swingable

The StatisticsObject class defines a statistics object. This abstract class is used to create general table representations for the Counter, the Tally and the Persistent.

(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-18
Author:
Peter Jacobs
See Also:
Serialized Form

Field Summary
 
Fields inherited from class nl.tudelft.simulation.event.EventProducer
listeners
 
Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface
FIRST_POSITION, LAST_POSITION
 
Constructor Summary
StatisticsObject()
          constructs a new StatisticsObject
 
Method Summary
 java.awt.Container getSwingPanel()
          represents this statisticsObject as Container.
abstract  javax.swing.table.TableModel getTable()
          represents the statistics object as Table.
 
Methods inherited from class nl.tudelft.simulation.event.EventProducer
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticsObject

public StatisticsObject()
constructs a new StatisticsObject

Method Detail

getTable

public abstract javax.swing.table.TableModel getTable()
                                               throws java.rmi.RemoteException
represents the statistics object as Table.

Returns:
TableModel the result
Throws:
java.rmi.RemoteException - on network failure

getSwingPanel

public java.awt.Container getSwingPanel()
                                 throws java.rmi.RemoteException
represents this statisticsObject as Container.

Specified by:
getSwingPanel in interface Swingable
Returns:
Container the result
Throws:
java.rmi.RemoteException - on network failure


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