org.gscg.common.gui.statistics.components
Class GamingPersistent
java.lang.Object
org.gscg.common.gui.statistics.components.GamingPersistent
- All Implemented Interfaces:
- java.util.EventListener, nl.tudelft.simulation.event.EventListenerInterface, StatisticsInterface
- public class GamingPersistent
- extends java.lang.Object
- implements StatisticsInterface, nl.tudelft.simulation.event.EventListenerInterface
A GamingPersistent is used to enable the setting of values upon an update of
the user interface.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology.
- Since:
- 1.0.0
- Version:
- $Revision: 1.1 $ $Date: 2005/06/16 12:33:54 $
- Author:
- Stijn-Pieter
van Houten
Constructor Summary |
GamingPersistent(ActorApplicationInterface application,
java.lang.String description,
nl.tudelft.simulation.event.EventType eventType,
nl.tudelft.simulation.event.EventType updateEventType,
nl.tudelft.simulation.event.EventListenerInterface owner)
constructs a new GamingPersistent |
Method Summary |
org.gscg.common.gui.statistics.components.GamingPersistent.CustomizedPersistent |
getPersistent()
|
void |
notify(nl.tudelft.simulation.event.EventInterface event)
|
void |
setStatus(boolean status)
Method setStatus sets the status of the statistic. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GamingPersistent
public GamingPersistent(ActorApplicationInterface application,
java.lang.String description,
nl.tudelft.simulation.event.EventType eventType,
nl.tudelft.simulation.event.EventType updateEventType,
nl.tudelft.simulation.event.EventListenerInterface owner)
- constructs a new GamingPersistent
- Parameters:
application
- the applicationdescription
- the descriptioneventType
- the eventtype of interestupdateEventType
- the update event typeowner
- the owner
notify
public void notify(nl.tudelft.simulation.event.EventInterface event)
- Specified by:
notify
in interface nl.tudelft.simulation.event.EventListenerInterface
- See Also:
EventListenerInterface.notify(nl.tudelft.simulation.event.EventInterface)
setStatus
public void setStatus(boolean status)
- Description copied from interface:
StatisticsInterface
- Method setStatus sets the status of the statistic.
- Specified by:
setStatus
in interface StatisticsInterface
- Parameters:
status
- true if the statistics should be listening to server-side
events; false otherwise- See Also:
StatisticsInterface.setStatus(boolean)
getPersistent
public org.gscg.common.gui.statistics.components.GamingPersistent.CustomizedPersistent getPersistent()
- Returns:
- returns the customized persistent
Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.