Class BusStopAnimation

java.lang.Object
nl.tudelft.simulation.dsol.animation.d2.Renderable2d<L>
org.opentrafficsim.base.geometry.OtsRenderable<T>
All Implemented Interfaces:
Serializable, nl.tudelft.simulation.dsol.animation.d2.Renderable2dInterface<BusStopAnimation.BusStopData>

public class BusStopAnimation extends AbstractLineAnimation<BusStopAnimation.BusStopData>
Draw BusStopData.

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 Classes
    Modifier and Type
    Class
    Description
    static interface 
    BusStopData provides the information required to draw a bus stop.
    class 
    Text animation for the Detector.

    Nested classes/interfaces inherited from class org.opentrafficsim.draw.road.AbstractLineAnimation

    AbstractLineAnimation.LaneBasedObjectData
  • Field Summary

    Fields inherited from class org.opentrafficsim.base.geometry.OtsRenderable

    RENDERING_KEYS, RENDERING_VALUES
  • Constructor Summary

    Constructors
    Constructor
    Description
    BusStopAnimation(BusStopAnimation.BusStopData laneDetector, nl.tudelft.simulation.naming.context.Contextualized contextualized)
    Construct a DetectorAnimation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    destroy(nl.tudelft.simulation.naming.context.Contextualized contextProvider)
     
    final void
    paint(Graphics2D graphics, ImageObserver observer)
    final String

    Methods inherited from class org.opentrafficsim.draw.road.AbstractLineAnimation

    getHalfLength

    Methods inherited from class org.opentrafficsim.base.geometry.OtsRenderable

    contains, resetRendering, setRendering, toBoundsTransform

    Methods inherited from class nl.tudelft.simulation.dsol.animation.d2.Renderable2d

    bind2Context, getId, getSource, isFlip, isRotate, isScale, isScaleObject, isScaleY, isTranslate, paint, paintComponent, setFlip, setRotate, setScale, setScaleObject, setScaleY, setTranslate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait