nl.tudelft.simulation.traffic.animation
Class StationAnimation
java.lang.Object
nl.tudelft.simulation.dsol.animation.D2.Renderable2D
nl.tudelft.simulation.traffic.animation.StationAnimation
- All Implemented Interfaces:
- nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface
- public class StationAnimation
- extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D
This class is used for the animation of a straight track.
(c) copyright 2004 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
- Version:
- 1.0 June 1, 2004
- Author:
- Alexander
Verbraeck
Original version: H.W.G. Phaff & J.H. Kwakkel
- See Also:
TrackInterface
| Nested classes inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface |
nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface.Util |
| Fields inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2D |
flip, rotate, scale, simulator, source, translate |
|
Constructor Summary |
StationAnimation(Station station,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
|
|
Method Summary |
boolean |
contains(java.awt.geom.Point2D pointWorldCoordinates,
java.awt.geom.Rectangle2D extent,
java.awt.Dimension screen)
|
void |
paint(java.awt.Graphics2D gr,
java.awt.image.ImageObserver io)
|
| Methods inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2D |
destroy, getSource, isFlip, isRotate, isScale, isTranslate, paint, setFlip, setRotate, setScale, setTranslate, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StationAnimation
public StationAnimation(Station station,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
- Parameters:
station - simulator -
paint
public void paint(java.awt.Graphics2D gr,
java.awt.image.ImageObserver io)
- See Also:
Renderable2D.paint(java.awt.Graphics2D,
java.awt.image.ImageObserver)
contains
public boolean contains(java.awt.geom.Point2D pointWorldCoordinates,
java.awt.geom.Rectangle2D extent,
java.awt.Dimension screen)
- See Also:
Renderable2DInterface.contains(java.awt.geom.Point2D,
java.awt.geom.Rectangle2D, java.awt.Dimension)
Copyright © 2003-2004 Delft University of Technology, the Netherlands. All Rights Reserved.