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
-
Serialized Fields
-
aggregationPeriodButtons
Map<JRadioButtonMenuItem,
Double> aggregationPeriodButtons Aggregation period UI buttons. -
ignoreEvent
boolean ignoreEvent
Whether to ignore events as this is itself the plot causing change of aggregationPeriod/updatesPerPeriod. -
updatesPerPeriodButtons
Map<JRadioButtonMenuItem,
Integer> updatesPerPeriodButtons Updates per period UI buttons.
-
-
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. -
popMenu
JPopupMenu popMenu
Pop-up menu with options. -
scaleGroup
ButtonGroup scaleGroup
Group of font scale items.
-
-
Class org.opentrafficsim.swing.gui.AppearanceControlButton
class AppearanceControlButton extends JButton implements Serializable- serialVersionUID:
- 20180206L
-
Class org.opentrafficsim.swing.gui.AppearanceControlComboBox
- serialVersionUID:
- 20231016L
-
Class org.opentrafficsim.swing.gui.AppearanceControlTabbedContentPane
class AppearanceControlTabbedContentPane extends TabbedContentPane implements Serializable- serialVersionUID:
- 20180206L
-
Class org.opentrafficsim.swing.gui.AppearanceControlTextField
class AppearanceControlTextField extends JTextField implements Serializable- serialVersionUID:
- 20240227L
-
Class org.opentrafficsim.swing.gui.OtsGtuColorPanel
class OtsGtuColorPanel extends JPanel implements Serializable- serialVersionUID:
- 20150527L
-
Serialized Fields
-
comboBoxGTUColor
JComboBox<GtuColorerManager.PredicatedColorer> comboBoxGTUColor
Combo box that sets the coloring for the GTUs. -
gtuColorer
Colorer<? super Gtu> gtuColorer
GTU colorer that is currently active. -
gtuColorerManager
GtuColorerManager gtuColorerManager
GTU colorer manager. -
lastGtuColorer
String lastGtuColorer
GTU colorer from properties. -
legendPanel
JPanel legendPanel
Panel that holds the legend for the currently selected GTU colorer.
-
-
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
OtsSimulationPanel 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 AppearanceApplication implements Serializable- serialVersionUID:
- 20141216L
-
Class org.opentrafficsim.swing.gui.OtsSimulationControlPanel
class OtsSimulationControlPanel extends JPanel implements Serializable- serialVersionUID:
- 20150617L
-
Serialized Fields
-
buttons
ArrayList<JButton> buttons
Control buttons. -
buttonsEnabled
boolean buttonsEnabled
Overruled buttons enabled state (for when simulation is controlled otherwise). -
clockLabel
org.opentrafficsim.swing.gui.OtsSimulationControlPanel.ClockLabel clockLabel
Clock label. -
decimalSeparator
String decimalSeparator
Decimal separator. -
isCleanUp
boolean isCleanUp
Has cleanup taken place? -
simulationSpeedRatios
int[] simulationSpeedRatios
Ratios used in each decade of the speed slider. -
simulator
OtsSimulatorInterface simulator
Simulator. -
speedSlider
JSlider speedSlider
Slider for simulation speed. -
stopAtEvent
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<org.djunits.value.vdouble.scalar.Duration> stopAtEvent
Current stop event to simulate until. -
tickValues
Map<Integer,
Double> tickValues Tick values of the speed slider. -
timeEdit
org.opentrafficsim.swing.gui.OtsSimulationControlPanel.TimeEdit timeEdit
Simulate until edit field. -
timeFont
Font timeFont
Font used to display the clock and the stop time.
-
-
Class org.opentrafficsim.swing.gui.OtsSimulationPanel
class OtsSimulationPanel extends JPanel implements Serializable- serialVersionUID:
- 20150617L
-
Serialized Fields
-
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 paint (if this is true but autoPanTrack is false, only a one-shot auto pan). -
autoPanTrack
boolean autoPanTrack
Track auto pan object continuously? -
coordinateField
JLabel coordinateField
Coordinates of the cursor. -
demoPanel
JPanel demoPanel
Demo panel. -
gtuColorPanel
OtsGtuColorPanel gtuColorPanel
GTU color panel. -
gtuCount
int gtuCount
GTU count. -
gtuCountField
JLabel gtuCountField
GTU count field. -
otsAnimationPanel
org.opentrafficsim.swing.gui.OtsSimulationPanel.OtsAnimationPanel otsAnimationPanel
Animation panel on tab position 0. -
otsSearchPanel
OtsSearchPanel otsSearchPanel
OTS search panel. -
otsSimulationControlPanel
OtsSimulationControlPanel otsSimulationControlPanel
Control panel to control start/stop, speed of the simulation. -
simulator
OtsSimulatorInterface simulator
Simulator. -
tabbedPane
TabbedContentPane tabbedPane
Tabbed pane that contains the different (default) screens. -
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. -
toggleSectionData
Map<org.opentrafficsim.swing.gui.OtsSimulationPanel.AppearanceJToggleButton,
org.opentrafficsim.swing.gui.OtsSimulationPanel.ToggleSectionData> toggleSectionData Toggle section data (name and default visible). -
toggleSectionVisible
boolean toggleSectionVisible
Whether the current toggle section is visible.
-
-
Class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
- serialVersionUID:
- 20250916L
-