Package org.opentrafficsim.draw.road
Class SpeedSignAnimation
java.lang.Object
nl.tudelft.simulation.dsol.animation.d2.Renderable2d<L>
org.opentrafficsim.draw.OtsRenderable<SpeedSignAnimation.SpeedSignData>
org.opentrafficsim.draw.road.SpeedSignAnimation
- All Implemented Interfaces:
Serializable,nl.tudelft.simulation.dsol.animation.d2.Renderable2dInterface<SpeedSignAnimation.SpeedSignData>
Copyright (c) 2013-2024 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 ClassesModifier and TypeClassDescriptionstatic interfaceLinkData provides the information required to draw a link. -
Constructor Summary
ConstructorsConstructorDescriptionSpeedSignAnimation(SpeedSignAnimation.SpeedSignData source, nl.tudelft.simulation.naming.context.Contextualized contextualized) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidpaint(Graphics2D g, ImageObserver arg1) final StringtoString()Methods inherited from class org.opentrafficsim.draw.OtsRenderable
contains, resetRendering, setRenderingMethods inherited from class nl.tudelft.simulation.dsol.animation.d2.Renderable2d
bind2Context, destroy, getId, getSource, isFlip, isRotate, isScale, isScaleObject, isScaleY, isTranslate, paint, paintComponent, setFlip, setRotate, setScale, setScaleObject, setScaleY, setTranslate
-
Constructor Details
-
SpeedSignAnimation
public SpeedSignAnimation(SpeedSignAnimation.SpeedSignData source, nl.tudelft.simulation.naming.context.Contextualized contextualized) throws NamingException, RemoteException - Parameters:
source- speed signcontextualized- context provider- Throws:
NamingException- neRemoteException- on communication failure
-
-
Method Details
-
paint
- Specified by:
paintin classnl.tudelft.simulation.dsol.animation.d2.Renderable2d<SpeedSignAnimation.SpeedSignData>
-
toString
- Overrides:
toStringin classnl.tudelft.simulation.dsol.animation.d2.Renderable2d<SpeedSignAnimation.SpeedSignData>
-