public class GTUGeneratorAnimation extends Renderable2D<GTUGenerator>
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Renderable2DInterface.Util
source
Constructor and Description |
---|
GTUGeneratorAnimation(GTUGenerator source,
SimulatorInterface<?,?,?> simulator)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
paint(Graphics2D graphics,
ImageObserver observer) |
bind2Context, contains, destroy, equals, getSource, hashCode, isFlip, isRotate, isScale, isTranslate, paint, setFlip, setRotate, setScale, setTranslate, toString
public GTUGeneratorAnimation(GTUGenerator source, 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 Renderable2D<GTUGenerator>
RemoteException
Copyright © 2014–2018 Delft University of Technology. All rights reserved.