nl.tudelft.simulation.jstats.statistics
Class StatisticsObject

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

public abstract class StatisticsObject
extends EventProducer
implements Swingable, EventListenerInterface, Serializable

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 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
protected  Filterinterface filter
          the filter applied to the Counter
 
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
 Container getSwingPanel()
          represents this statisticsObject as Container.
abstract  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
 
Methods inherited from interface nl.tudelft.simulation.event.EventListenerInterface
notify
 

Field Detail

filter

protected Filterinterface filter
the filter applied to the Counter

Constructor Detail

StatisticsObject

public StatisticsObject()
constructs a new StatisticsObject

Method Detail

getTable

public abstract TableModel getTable()
                             throws RemoteException
represents the statistics object as Table.

Returns:
TableModel the result
Throws:
RemoteException - on network failure

getSwingPanel

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

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


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