Serialized Form
-
Package org.opentrafficsim.swing.graphs
-
Class org.opentrafficsim.swing.graphs.SwingContourPlot
class SwingContourPlot extends SwingSpaceTimePlot implements Serializable- serialVersionUID:
- 20190823L
-
Serialized Fields
-
ignoreEvent
boolean ignoreEvent
Whether to ignore events as this is itself the plot causing change of granularity/interpolate/smooth setting. -
interpolateCheckBox
JCheckBoxMenuItem interpolateCheckBox
Check box for interpolation. -
smoothCheckBox
JCheckBoxMenuItem smoothCheckBox
Check box for smoothing. -
spaceGranularityButtons
Map<JRadioButtonMenuItem,
Double> spaceGranularityButtons Map to set space granularity. -
timeGranularityButtons
Map<JRadioButtonMenuItem,
Double> timeGranularityButtons Map to set time granularity.
-
-
Class org.opentrafficsim.swing.graphs.SwingFundamentalDiagram
class SwingFundamentalDiagram extends SwingPlot implements Serializable- serialVersionUID:
- 20190823L
-
Class org.opentrafficsim.swing.graphs.SwingPlot
class SwingPlot extends JFrame implements Serializable- serialVersionUID:
- 20190823L
-
Serialized Fields
-
chartPanel
org.jfree.chart.ChartPanel chartPanel
Chart panel. -
detach
JMenuItem detach
Detach menu item. -
plot
AbstractPlot plot
The JFreeChart plot. -
statusLabel
JLabel statusLabel
Status label.
-
-
Class org.opentrafficsim.swing.graphs.SwingSpaceTimePlot
class SwingSpaceTimePlot extends SwingPlot implements Serializable- serialVersionUID:
- 20190823L
-
Class org.opentrafficsim.swing.graphs.SwingTrajectoryPlot
class SwingTrajectoryPlot extends SwingSpaceTimePlot implements Serializable- serialVersionUID:
- 20190823L
-
Serialized Fields
-
colorButtonGroup
ButtonGroup colorButtonGroup
Color button group (so one is selected at a time). -
colorMenu
JMenu colorMenu
Menu to select color. -
density
boolean density
Calculate density (vertical line). -
flow
boolean flow
Calculate flow ((horizontal line). -
from
Point2D.Double from
From point for line statistics. -
lineAnnotation
org.jfree.chart.annotations.XYLineAnnotation lineAnnotation
Line annotation for line statistics. -
textAnnotation
org.jfree.chart.annotations.XYTextAnnotation textAnnotation
Text annotation for line statistics. -
to
Point2D.Double to
From point for line statistics.
-
-
-
Package org.opentrafficsim.swing.gui
-
Class org.opentrafficsim.swing.gui.AppearanceApplication
class AppearanceApplication extends JFrame implements Serializable- serialVersionUID:
- 20231017L
-
Serialized Fields
-
appearance
Appearance appearance
Current appearance. -
appGroup
ButtonGroup appGroup
Group of appearance items. -
fontScaleName
String fontScaleName
Current font scale. -
frameProperties
Properties frameProperties
Properties for the frame appearance (not simulation related). -
popMenu
JPopupMenu popMenu
Popup menu with options. -
scaleGroup
ButtonGroup scaleGroup
Group of font scale items.
-
-
Class org.opentrafficsim.swing.gui.AppearanceControlComboBox
- serialVersionUID:
- 20231016L
-
Class org.opentrafficsim.swing.gui.AppearanceControlTextField
class AppearanceControlTextField extends JTextField implements Serializable- serialVersionUID:
- 20240227L
-
Class org.opentrafficsim.swing.gui.ColorControlPanel
class ColorControlPanel extends JPanel implements Serializable- serialVersionUID:
- 20150527L
-
Serialized Fields
-
comboBoxGTUColor
JComboBox<GtuColorerManager.PredicatedColorer> comboBoxGTUColor
The combo box that sets the coloring for the GTUs. -
gtuColorer
Colorer<? super Gtu> gtuColorer
The GtuColorer that is currently active. -
gtuColorerManager
GtuColorerManager gtuColorerManager
GTU colorer manager. -
legendPanel
JPanel legendPanel
The panel that holds the legend for the currently selected GtuColorer.
-
-
Class org.opentrafficsim.swing.gui.CustomSimulation
class CustomSimulation extends OtsSimulationApplication<CustomSimulation.CustomModel> implements Serializable- serialVersionUID:
- 20240418L
-
Class org.opentrafficsim.swing.gui.JFileChooserWithSettings
class JFileChooserWithSettings extends JFileChooser implements Serializable- serialVersionUID:
- 20181014L
-
Class org.opentrafficsim.swing.gui.LabeledPanel
class LabeledPanel extends JPanel implements Serializable- serialVersionUID:
- 20141222L
-
Class org.opentrafficsim.swing.gui.OtsAnimationPanel
class OtsAnimationPanel extends OtsSimulationPanel implements Serializable- serialVersionUID:
- 20150617L
-
Serialized Fields
-
animationPanel
org.opentrafficsim.swing.gui.OtsAnimationPanel.AutoAnimationPanel animationPanel
The animation panel on tab position 0. -
autoPanId
String autoPanId
Id of object to auto pan to. -
autoPanKind
org.opentrafficsim.swing.gui.OtsSearchPanel.ObjectKind<?> autoPanKind
Type of object to auto pan to. -
autoPanOnNextPaintComponent
boolean autoPanOnNextPaintComponent
Track auto on the next paintComponent operation; then copy state from autoPanTrack. -
autoPanTrack
boolean autoPanTrack
Track auto pan object continuously? -
borderPanel
JPanel borderPanel
Border panel in which the animation is shown. -
buttons
ArrayList<JButton> buttons
The animation buttons. -
closeHandlerRegistered
boolean closeHandlerRegistered
Has the window close handler been registered? -
colorControlPanel
ColorControlPanel colorControlPanel
The ColorControlPanel that allows the user to operate the SwitchableGtuColorer. -
coordinateField
JLabel coordinateField
The coordinates of the cursor. -
demoPanel
JPanel demoPanel
Demo panel. -
gtuCount
int gtuCount
The GTU count. -
gtuCountField
JLabel gtuCountField
The GTU count field. -
toggleButtons
Map<Class<? extends Locatable>,
JToggleButton> toggleButtons Set of animation classes to toggle buttons. -
toggleGISButtons
Map<String,
JToggleButton> toggleGISButtons Set of GIS layer names to toggle buttons. -
toggleGISMap
Map<String,
GisMapInterface> toggleGISMap Set of GIS layer names to toggle GIS layers . -
toggleLocatableMap
Map<String,
Class<? extends Locatable>> toggleLocatableMap Map of toggle names to toggle animation classes. -
togglePanel
JPanel togglePanel
Toggle panel with which animation features can be shown/hidden. -
windowExited
boolean windowExited
Indicate the window has been closed and the timer thread can stop.
-
-
Class org.opentrafficsim.swing.gui.OtsControlPanel
class OtsControlPanel extends JPanel implements Serializable- serialVersionUID:
- 20150617L
-
Serialized Fields
-
buttons
ArrayList<JButton> buttons
The control buttons. -
buttonsEnabled
boolean buttonsEnabled
The current enabled state of the buttons. -
clockLabel
OtsControlPanel.ClockLabel clockLabel
The clock. -
closeHandlerRegistered
boolean closeHandlerRegistered
Has the window close handler been registered? -
decimalSeparator
String decimalSeparator
Decimal separator. -
isCleanUp
boolean isCleanUp
Has cleanup taken place? -
model
OtsModelInterface model
The model, needed for its properties. -
otsSearchPanel
OtsSearchPanel otsSearchPanel
The OTS search panel. -
simulator
OtsSimulatorInterface simulator
The simulator. -
stopAtEvent
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<Duration> stopAtEvent
The currently registered stop at event. -
timeEdit
OtsControlPanel.TimeEdit timeEdit
The TimeEdit that lets the user set a time when the simulation will be stopped. -
timeFont
Font timeFont
Font used to display the clock and the stop time. -
timeWarpPanel
org.opentrafficsim.swing.gui.OtsControlPanel.TimeWarpPanel timeWarpPanel
The time warp control.
-
-
Class org.opentrafficsim.swing.gui.OtsControlPanel.ClockLabel
class ClockLabel extends JLabel implements Serializable- serialVersionUID:
- 20141211L
-
Class org.opentrafficsim.swing.gui.OtsControlPanel.TimeEdit
class TimeEdit extends JFormattedTextField implements Serializable- serialVersionUID:
- 20141212L
-
Serialized Fields
-
lastCaretPosition
int lastCaretPosition
Last caret position in the time editor. USed to know whether to skip left or right around ':', '.' or ','.
-
-
Class org.opentrafficsim.swing.gui.OtsSearchPanel
class OtsSearchPanel extends JPanel implements Serializable- serialVersionUID:
- 20200127L
-
Serialized Fields
-
idTextField
JTextField idTextField
Id of the object to search for. -
otsAnimationPanel
OtsAnimationPanel otsAnimationPanel
The animation panel. -
trackObject
JCheckBox trackObject
Track object check box. -
typeToSearch
JComboBox<org.opentrafficsim.swing.gui.OtsSearchPanel.ObjectKind<?>> typeToSearch
The type-of-object-to-search-for selector.
-
-
Class org.opentrafficsim.swing.gui.OtsSimulationApplication
class OtsSimulationApplication extends OtsSwingApplication<T extends OtsModelInterface> implements Serializable- serialVersionUID:
- 20190118L
-
Serialized Fields
-
animationPanel
OtsAnimationPanel animationPanel
Animation panel. -
markers
Map<GtuType,
DefaultCarAnimation.GtuData.GtuMarker> markers GTU type markers.
-
-
Class org.opentrafficsim.swing.gui.OtsSimulationPanel
class OtsSimulationPanel extends JPanel implements Serializable- serialVersionUID:
- 20150617L
-
Serialized Fields
-
console
ConsoleOutput console
The console to log messages. -
otsControlPanel
OtsControlPanel otsControlPanel
The control panel to control start/stop, speed of the simulation. -
otsModel
OtsModelInterface otsModel
Animation, required to add properties tab. -
simulator
OtsSimulatorInterface simulator
The simulator. -
tabbedPane
TabbedContentPane tabbedPane
The tabbed pane that contains the different (default) screens.
-
-
Class org.opentrafficsim.swing.gui.OtsSwingApplication
class OtsSwingApplication extends AppearanceApplication implements Serializable- serialVersionUID:
- 20141216L
-
Serialized Fields
-
closed
boolean closed
whether the application has been closed or not. -
model
T extends OtsModelInterface model
the model.
-
-
Class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
- serialVersionUID:
- 20250916L
-