public class GTUGeneratorAnimation extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D<GTUGenerator>
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
GTUGeneratorAnimation(GTUGenerator source,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface<?,?,?> simulator)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
paint(Graphics2D graphics,
ImageObserver observer) |
public GTUGeneratorAnimation(GTUGenerator source, nl.tudelft.simulation.dsol.simulators.SimulatorInterface<?,?,?> simulator) throws NamingException, RemoteException
source
- GTUGenerator; generatorsimulator
- SimulatorInterface<?, ?, ?>; simulatorNamingException
- when animation context cannot be created or retrievedRemoteException
- when remote context cannot be foundpublic void paint(Graphics2D graphics, ImageObserver observer) throws RemoteException
paint
in class nl.tudelft.simulation.dsol.animation.D2.Renderable2D<GTUGenerator>
RemoteException
Copyright © 2014–2018 Delft University of Technology. All rights reserved.