Class PriorityAnimation

java.lang.Object
nl.tudelft.simulation.dsol.animation.d2.Renderable2d<L>
org.opentrafficsim.base.geometry.OtsRenderable<PriorityAnimation.PriorityData>
org.opentrafficsim.draw.road.PriorityAnimation
All Implemented Interfaces:
Serializable, nl.tudelft.simulation.dsol.animation.d2.Renderable2dInterface<PriorityAnimation.PriorityData>

public class PriorityAnimation extends org.opentrafficsim.base.geometry.OtsRenderable<PriorityAnimation.PriorityData>
Animation of conflict priority (which is a link property).

Copyright (c) 2024-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Wouter Schakel
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    Data for priority animation.
  • Field Summary

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

    RENDERING_KEYS, RENDERING_VALUES
  • Constructor Summary

    Constructors
    Constructor
    Description
    PriorityAnimation(PriorityAnimation.PriorityData source, nl.tudelft.simulation.naming.context.Contextualized contextProvider)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    void
    paint(Graphics2D graphics, ImageObserver observer)

    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, destroy, getId, getSource, isFlip, isScale, isScaleObject, isScaleY, isTranslate, paint, paintComponent, setFlip, setRotate, setScale, setScaleObject, setScaleY, setTranslate, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PriorityAnimation

      public PriorityAnimation(PriorityAnimation.PriorityData source, nl.tudelft.simulation.naming.context.Contextualized contextProvider)
      Constructor.
      Parameters:
      source - PriorityData; source.
      contextProvider - Contextualized; contextualized.
  • Method Details