nl.tudelft.simulation.traffic.animation
Class ControlPointAnimation

java.lang.Object
  extended bynl.tudelft.simulation.dsol.animation.D2.Renderable2D
      extended bynl.tudelft.simulation.traffic.animation.ControlPointAnimation
All Implemented Interfaces:
nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface

public class ControlPointAnimation
extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D

This class enables the animation of a control point.

(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 Oct 31, 2004
Author:
Alexander Verbraeck

Nested Class Summary
 
Nested classes inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface
nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface.Util
 
Field Summary
 
Fields inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2D
flip, rotate, scale, simulator, source, translate
 
Constructor Summary
ControlPointAnimation(ControlPointInterface cpi, nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
           
ControlPointAnimation(ControlPointInterface cpi, nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator, double deltax, double deltay)
           
 
Method Summary
 void paint(java.awt.Graphics2D graphics, java.awt.image.ImageObserver io)
           
 
Methods inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2D
contains, 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
 

Constructor Detail

ControlPointAnimation

public ControlPointAnimation(ControlPointInterface cpi,
                             nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
Parameters:
cpi -
simulator -

ControlPointAnimation

public ControlPointAnimation(ControlPointInterface cpi,
                             nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator,
                             double deltax,
                             double deltay)
Parameters:
cpi -
simulator -
deltax -
deltay -
Method Detail

paint

public void paint(java.awt.Graphics2D graphics,
                  java.awt.image.ImageObserver io)
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
See Also:
Renderable2D.paint(java.awt.Graphics2D, java.awt.image.ImageObserver)


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