Class MapGeneratorData
java.lang.Object
org.opentrafficsim.editor.extensions.map.MapData
org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
org.opentrafficsim.editor.extensions.map.MapGeneratorData
- 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
,org.opentrafficsim.base.geometry.SpatialObject
,org.opentrafficsim.draw.ClickableLineLocatable
,org.opentrafficsim.draw.ClickableLocatable
,org.opentrafficsim.draw.road.AbstractLineAnimation.LaneBasedObjectData
,org.opentrafficsim.draw.road.GtuGeneratorPositionAnimation.GtuGeneratorPositionData
,EvalWrapper.EvalListener
public class MapGeneratorData
extends MapLaneBasedObjectData
implements org.opentrafficsim.draw.road.GtuGeneratorPositionAnimation.GtuGeneratorPositionData
Generator data for the editor Map.
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:
-
Field Summary
Fields inherited from interface org.opentrafficsim.draw.ClickableLocatable
EXPANSE
-
Constructor Summary
ConstructorsConstructorDescriptionMapGeneratorData
(EditorMap map, XsdTreeNode node, OtsEditor editor) Constructor. -
Method Summary
Methods inherited from class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
destroy, evalChanged, getContour, getId, getLaneWidth, getLine, getLinkLanePositionId, getLocation, getShape, 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 nl.tudelft.simulation.dsol.animation.Locatable
getDirZ
Methods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable
getShape
Methods inherited from interface org.opentrafficsim.base.geometry.SpatialObject
getContour
-
Constructor Details
-
MapGeneratorData
Constructor.- Parameters:
map
- map.node
- node.editor
- editor.
-
-
Method Details
-
getBounds
public org.djutils.draw.bounds.Bounds2d getBounds()- Specified by:
getBounds
in interfaceorg.opentrafficsim.draw.ClickableLineLocatable
- Specified by:
getBounds
in interfaceorg.opentrafficsim.draw.ClickableLocatable
- Specified by:
getBounds
in interfacenl.tudelft.simulation.dsol.animation.Locatable
- Specified by:
getBounds
in interfaceorg.opentrafficsim.base.geometry.OtsLocatable
- Overrides:
getBounds
in classMapLaneBasedObjectData
-
getQueueCount
public int getQueueCount()- Specified by:
getQueueCount
in interfaceorg.opentrafficsim.draw.road.GtuGeneratorPositionAnimation.GtuGeneratorPositionData
-
getZ
public double getZ()- Specified by:
getZ
in interfaceorg.opentrafficsim.draw.road.AbstractLineAnimation.LaneBasedObjectData
- Specified by:
getZ
in interfaceorg.opentrafficsim.draw.road.GtuGeneratorPositionAnimation.GtuGeneratorPositionData
- Specified by:
getZ
in interfacenl.tudelft.simulation.dsol.animation.Locatable
-
toString
-