Class MapTrafficLightData
java.lang.Object
org.opentrafficsim.editor.extensions.map.MapData
org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
org.opentrafficsim.editor.extensions.map.MapTrafficLightData
- All Implemented Interfaces:
Serializable
,Remote
,EventListener
,nl.tudelft.simulation.dsol.animation.Locatable
,org.djutils.base.Identifiable
,org.djutils.event.EventListener
,org.opentrafficsim.base.geometry.OtsLocatable
,AbstractLineAnimation.LaneBasedObjectData
,TrafficLightAnimation.TrafficLightData
,EvalWrapper.EvalListener
public class MapTrafficLightData
extends MapLaneBasedObjectData
implements TrafficLightAnimation.TrafficLightData
Traffic light data for the editor Map.
Copyright (c) 2023-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:
-
Constructor Summary
ConstructorDescriptionMapTrafficLightData
(EditorMap map, XsdTreeNode node, OtsEditor editor) Constructor. -
Method Summary
Methods inherited from class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
calculateBounds, destroy, evalChanged, getBounds, getId, getLaneWidth, getLinkLanePositionId, getLocation, notify, setLinkNode
Methods inherited from class org.opentrafficsim.editor.extensions.map.MapData
getEval, getMap, getNode, setInvalid, setValid, setValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opentrafficsim.draw.road.AbstractLineAnimation.LaneBasedObjectData
getLaneWidth, getLocation, getZ
Methods inherited from interface org.djutils.base.Identifiable
getId
Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable
getDirZ
Methods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable
getBounds
-
Constructor Details
-
MapTrafficLightData
Constructor.- Parameters:
map
- Map; map.node
- XsdTreeNode; node Ots.Network.Link.TrafficLight.editor
- OtsEditor; editor.
-
-
Method Details
-
getColor
- Specified by:
getColor
in interfaceTrafficLightAnimation.TrafficLightData
-
toString
-