Serialized Form
-
Package org.opentrafficsim.draw
-
Class org.opentrafficsim.draw.BoundsPaintScale
class BoundsPaintScale extends Object implements Serializable- serialVersionUID:
- 20181008L
-
Serialized Fields
-
boundColors
Color[] boundColors
Color values to use at the boundary values. -
bounds
double[] bounds
Boundary values for this ColorPaintScale.
-
-
Exception org.opentrafficsim.draw.OtsDrawingException
class OtsDrawingException extends Exception implements Serializable- serialVersionUID:
- 1L
-
Class org.opentrafficsim.draw.TextAnimation
class TextAnimation extends Object implements Serializable- serialVersionUID:
- 20161211L
-
Serialized Fields
-
animationImpl
org.opentrafficsim.draw.TextAnimation.AnimationImpl animationImpl
The animation implementation. -
background
TextAnimation.ContrastToBackground background
Access to the current background color. -
color
Color color
The color of the text. -
dx
float dx
The horizontal movement of the text, in meters. -
dy
float dy
The vertical movement of the text, in meters. -
dynamic
boolean dynamic
Whether the location is dynamic. -
font
Font font
The font. -
fontSize
float fontSize
FontSize the size of the font; default = 2.0 (meters). -
location
org.djutils.draw.point.OrientedPoint2d location
Location of this text. -
maxFontSize
float maxFontSize
Maximum font size to trigger scaling. -
minFontSize
float minFontSize
Minimum font size to trigger scaling. -
scaleDependentRendering
TextAnimation.ScaleDependentRendering scaleDependentRendering
Render dependent on font scale. -
source
L extends org.opentrafficsim.base.geometry.OtsLocatable source
The object for which the text is displayed. -
text
Supplier<String> text
The text to display. -
textAlignment
TextAlignment textAlignment
Whether to center or not.
-
-
Class org.opentrafficsim.draw.TextProperties
class TextProperties extends Object implements Serializable- serialVersionUID:
- 20170400L
-
Serialized Fields
-
color
Color color
the color of the text, e.g., Color.RED. -
font
String font
the name of the font, e.g., specified as Font.SERIF. -
fontSize
float fontSize
the size of the font (in units of the animation, e.g., meters). -
textAlignment
TextAlignment textAlignment
the text alignment (LEFT, CENTER or RIGHT). -
textAttributes
Map<TextAttribute,
Object> textAttributes a map of text attributes to set, e.g., UNDERLINE or WEIGHT.
-
-
-
Package org.opentrafficsim.draw.egtf
-
Class org.opentrafficsim.draw.egtf.EgtfEvent
class EgtfEvent extends EventObject implements Serializable- serialVersionUID:
- 20181008L
-
Serialized Fields
-
progress
double progress
Progress, a value in the range [0 ... 1].
-
-
-
Package org.opentrafficsim.draw.graphs
-
Class org.opentrafficsim.draw.graphs.JFileChooserWithSettings
class JFileChooserWithSettings extends JFileChooser implements Serializable- serialVersionUID:
- 20181014L
-
Class org.opentrafficsim.draw.graphs.XyInterpolatedBlockRenderer
class XyInterpolatedBlockRenderer extends org.jfree.chart.renderer.xy.XYBlockRenderer implements Serializable- serialVersionUID:
- 20181008L
-
Serialized Fields
-
interpolate
boolean interpolate
Whether to use the interpolation. -
xyInterpolatedDataset
XyInterpolatedDataset xyInterpolatedDataset
Dataset that allows retrieving surrounding value for interpolation.
-
-
-
Package org.opentrafficsim.draw.gtu
-
Class org.opentrafficsim.draw.gtu.DefaultCarAnimation
class DefaultCarAnimation extends org.opentrafficsim.base.geometry.OtsRenderable<DefaultCarAnimation.GtuData> implements Serializable- serialVersionUID:
- 20150000L
-
Serialized Fields
-
frontIndicator
Ellipse2D.Double frontIndicator
Front indicator (white circle). -
hashCode
int hashCode
Hashcode. -
leftBrake
Rectangle2D.Double leftBrake
Left brake light. -
leftIndicator
Rectangle2D.Double leftIndicator
Left indicator. -
marker
RectangularShape marker
Marker if zoomed out. -
rectangle
Rectangle2D.Double rectangle
GTU outline. -
rightBrake
Rectangle2D.Double rightBrake
Right brake light. -
rightIndicator
Rectangle2D.Double rightIndicator
Right indicator. -
text
DefaultCarAnimation.Text text
the Text object to destroy when the GTU animation is destroyed.
-
-
Class org.opentrafficsim.draw.gtu.DefaultCarAnimation.Text
class Text extends TextAnimation<DefaultCarAnimation.GtuData,DefaultCarAnimation.Text> implements Serializable - serialVersionUID:
- 20161211L
-
Serialized Fields
-
isTextDestroyed
boolean isTextDestroyed
is the animation destroyed?
-
-
-
Package org.opentrafficsim.draw.network
-
Class org.opentrafficsim.draw.network.LinkAnimation
class LinkAnimation extends org.opentrafficsim.base.geometry.OtsRenderable<LinkAnimation.LinkData> implements Serializable- serialVersionUID:
- 20140000L
-
Serialized Fields
-
color
Color color
Color. -
designLine
org.djutils.draw.line.PolyLine2d designLine
Design line, also cached in parent, this is to see if it has changed. -
dynamic
boolean dynamic
Whether animation is dynamic. -
endPoint
Path2D.Float endPoint
Drawable path for end point. -
path
Path2D.Float path
Drawable path. -
startPoint
Path2D.Float startPoint
Drawable path for start point. -
text
LinkAnimation.Text text
the Text object to destroy when the animation is destroyed. -
width
float width
-
-
Class org.opentrafficsim.draw.network.LinkAnimation.Text
- serialVersionUID:
- 20161211L
-
Class org.opentrafficsim.draw.network.NodeAnimation
class NodeAnimation extends org.opentrafficsim.base.geometry.OtsRenderable<NodeAnimation.NodeData> implements Serializable- serialVersionUID:
- 20140000L
-
Serialized Fields
-
text
NodeAnimation.Text text
the Text object to destroy when the animation is destroyed.
-
-
Class org.opentrafficsim.draw.network.NodeAnimation.Text
- serialVersionUID:
- 20161211L
-
-
Package org.opentrafficsim.draw.object
-
Class org.opentrafficsim.draw.object.StaticObjectAnimation
class StaticObjectAnimation extends org.opentrafficsim.base.geometry.OtsRenderable<StaticObjectAnimation.StaticObjectData> implements Serializable- serialVersionUID:
- 20160400L
-
Serialized Fields
-
color
Color color
-
fill
boolean fill
-
paths
Set<Path2D.Float> paths
Drawable paths. -
width
float width
-
-
-
Package org.opentrafficsim.draw.road
-
Class org.opentrafficsim.draw.road.AbstractLineAnimation
class AbstractLineAnimation extends org.opentrafficsim.base.geometry.OtsRenderable<T extends AbstractLineAnimation.LaneBasedObjectData> implements Serializable- serialVersionUID:
- 20230929L
-
Serialized Fields
-
halfLength
double halfLength
Half length, for placement of coupled text labels. -
rectangle
Rectangle2D rectangle
Rectangle to color.
-
-
Class org.opentrafficsim.draw.road.BusStopAnimation
class BusStopAnimation extends AbstractLineAnimation<BusStopAnimation.BusStopData> implements Serializable- serialVersionUID:
- 20150130L
-
Serialized Fields
-
text
BusStopAnimation.Text text
the Text object to destroy when the animation is destroyed.
-
-
Class org.opentrafficsim.draw.road.BusStopAnimation.Text
class Text extends TextAnimation<BusStopAnimation.BusStopData,BusStopAnimation.Text> implements Serializable - serialVersionUID:
- 20161211L
-
Class org.opentrafficsim.draw.road.ConflictAnimation
class ConflictAnimation extends AbstractLineAnimation<ConflictAnimation.ConflictData> implements Serializable- serialVersionUID:
- 20161207L
-
Serialized Fields
-
paths
Set<Path2D.Float> paths
Drawable paths.
-
-
Class org.opentrafficsim.draw.road.CrossSectionElementAnimation
class CrossSectionElementAnimation extends org.opentrafficsim.base.geometry.OtsRenderable<L extends CrossSectionElementAnimation.CrossSectionElementData> implements Serializable- serialVersionUID:
- 20141017L
-
Serialized Fields
-
color
Color color
The animation color. -
paths
Set<Path2D.Float> paths
Drawable paths.
-
-
Class org.opentrafficsim.draw.road.GtuGeneratorPositionAnimation
class GtuGeneratorPositionAnimation extends org.opentrafficsim.base.geometry.OtsRenderable<GtuGeneratorPositionAnimation.GtuGeneratorPositionData> implements Serializable- serialVersionUID:
- 20230204L
-
Class org.opentrafficsim.draw.road.GtuGeneratorPositionAnimation.Queue
class Queue extends TextAnimation<GtuGeneratorPositionAnimation.GtuGeneratorPositionData,GtuGeneratorPositionAnimation.Queue> implements Serializable - serialVersionUID:
- 20230204L
-
Class org.opentrafficsim.draw.road.LaneAnimation
class LaneAnimation extends CrossSectionElementAnimation<LaneAnimation.LaneData> implements Serializable- serialVersionUID:
- 20141017L
-
Serialized Fields
-
centerLineAnimation
LaneAnimation.CenterLineAnimation centerLineAnimation
Center line animation. -
color
Color color
Color of the lane. -
text
LaneAnimation.Text text
the Text object to destroy when the animation is destroyed.
-
-
Class org.opentrafficsim.draw.road.LaneAnimation.CenterLineAnimation
class CenterLineAnimation extends org.opentrafficsim.base.geometry.OtsRenderable<LaneAnimation.CenterLine> implements Serializable- serialVersionUID:
- 20180426L
-
Serialized Fields
-
path
Path2D.Float path
Drawable path.
-
-
Class org.opentrafficsim.draw.road.LaneAnimation.Text
- serialVersionUID:
- 20161211L
-
Class org.opentrafficsim.draw.road.LaneDetectorAnimation
class LaneDetectorAnimation extends AbstractLineAnimation<L extends LaneDetectorAnimation.LaneDetectorData> implements Serializable- serialVersionUID:
- 20150130L
-
Serialized Fields
-
color
Color color
The color of the detector. -
text
T extends TextAnimation<L,
T> text the Text object to destroy when the animation is destroyed.
-
-
Class org.opentrafficsim.draw.road.LaneDetectorAnimation.LoopDetectorData.LoopDetectorText
class LoopDetectorText extends TextAnimation<LaneDetectorAnimation.LoopDetectorData,LaneDetectorAnimation.LoopDetectorData.LoopDetectorText> implements Serializable - serialVersionUID:
- 20240301L
-
Class org.opentrafficsim.draw.road.LaneDetectorAnimation.SinkData.SinkText
class SinkText extends TextAnimation<LaneDetectorAnimation.SinkData,LaneDetectorAnimation.SinkData.SinkText> implements Serializable - serialVersionUID:
- 20240301L
-
Class org.opentrafficsim.draw.road.LaneDetectorAnimation.Text
class Text extends TextAnimation<LaneDetectorAnimation.LaneDetectorData,LaneDetectorAnimation.Text> implements Serializable - serialVersionUID:
- 20161211L
-
Class org.opentrafficsim.draw.road.PriorityAnimation
class PriorityAnimation extends org.opentrafficsim.base.geometry.OtsRenderable<PriorityAnimation.PriorityData> implements Serializable- serialVersionUID:
- 20240228L
-
Class org.opentrafficsim.draw.road.SpeedSignAnimation
class SpeedSignAnimation extends org.opentrafficsim.base.geometry.OtsRenderable<SpeedSignAnimation.SpeedSignData> implements Serializable- serialVersionUID:
- 20170420L
-
Class org.opentrafficsim.draw.road.StripeAnimation
class StripeAnimation extends org.opentrafficsim.base.geometry.OtsRenderable<StripeAnimation.StripeData> implements Serializable- serialVersionUID:
- 20141017L
-
Serialized Fields
-
paths
Set<Path2D.Float> paths
Drawable paths.
-
-
Class org.opentrafficsim.draw.road.TrafficLightAnimation
class TrafficLightAnimation extends AbstractLineAnimation<TrafficLightAnimation.TrafficLightData> implements Serializable- serialVersionUID:
- 20160000L
-
Serialized Fields
-
text
TrafficLightAnimation.Text text
the Text object to destroy when the animation is destroyed.
-
-
Class org.opentrafficsim.draw.road.TrafficLightAnimation.Text
class Text extends TextAnimation<TrafficLightAnimation.TrafficLightData,TrafficLightAnimation.Text> implements Serializable - serialVersionUID:
- 20161211L
-
Class org.opentrafficsim.draw.road.TrafficLightDetectorAnimation
class TrafficLightDetectorAnimation extends org.opentrafficsim.base.geometry.OtsRenderable<TrafficLightDetectorAnimation.TrafficLightDetectorData> implements Serializable- serialVersionUID:
- 20150130L
-
Serialized Fields
-
detector
TrafficLightDetectorAnimation.TrafficLightDetectorData detector
The traffic light detector. -
paths
Set<Path2D.Float> paths
Path of the detector. -
text
TrafficLightDetectorAnimation.Text text
the Text object to destroy when the animation is destroyed.
-
-
Class org.opentrafficsim.draw.road.TrafficLightDetectorAnimation.Text
class Text extends TextAnimation<TrafficLightDetectorAnimation.TrafficLightDetectorData,TrafficLightDetectorAnimation.Text> implements Serializable - serialVersionUID:
- 20161211L
-