Package org.opentrafficsim.draw.road
Class BusStopAnimation
java.lang.Object
nl.tudelft.simulation.dsol.animation.D2.Renderable2D<T>
org.opentrafficsim.draw.road.AbstractLineAnimation<BusStop>
org.opentrafficsim.draw.road.BusStopAnimation
- All Implemented Interfaces:
Serializable,nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface<BusStop>
Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionBusStopAnimation(BusStop source, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy(Contextualized contextProvider) final voidpaint(Graphics2D graphics, ImageObserver observer) final StringtoString()Methods inherited from class org.opentrafficsim.draw.road.AbstractLineAnimation
getHalfLengthMethods inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2D
bind2Context, contains, getId, getSource, isFlip, isRotate, isScale, isScaleObject, isScaleY, isTranslate, paint, paintComponent, setFlip, setRotate, setScale, setScaleObject, setScaleY, setTranslate
-
Constructor Details
-
BusStopAnimation
public BusStopAnimation(BusStop source, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator) throws NamingException, RemoteException - Parameters:
source- BusStop; sourcesimulator- OtsSimulatorInterface; simulator- Throws:
NamingException- when animation context cannot be created or retrievedRemoteException- when remote context cannot be found
-
-
Method Details
-
paint
- Overrides:
paintin classAbstractLineAnimation<BusStop>
-
destroy
-
toString
- Overrides:
toStringin classnl.tudelft.simulation.dsol.animation.D2.Renderable2D<BusStop>
-