public class BusStopAnimation extends AbstractLineAnimation<BusStop> implements Serializable
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.
Modifier and Type | Class and Description |
---|---|
class |
BusStopAnimation.Text
Text animation for the BusStop.
|
Renderable2DInterface.Util
source
Constructor and Description |
---|
BusStopAnimation(BusStop source,
SimulatorInterface.TimeDoubleUnit simulator) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
paint(Graphics2D graphics,
ImageObserver observer) |
String |
toString() |
getHalfLength
bind2Context, contains, equals, getSource, hashCode, isFlip, isRotate, isScale, isTranslate, paint, setFlip, setRotate, setScale, setTranslate
public BusStopAnimation(BusStop source, SimulatorInterface.TimeDoubleUnit simulator) throws NamingException, RemoteException
source
- sourcesimulator
- simulatorNamingException
- when animation context cannot be created or retrievedRemoteException
- when remote context cannot be foundpublic final void paint(Graphics2D graphics, ImageObserver observer) throws RemoteException
paint
in class AbstractLineAnimation<BusStop>
RemoteException
public final void destroy() throws NamingException
destroy
in interface Renderable2DInterface<BusStop>
destroy
in class Renderable2D<BusStop>
NamingException
public final String toString()
toString
in class Renderable2D<BusStop>
Copyright © 2014–2018 Delft University of Technology. All rights reserved.