A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractSimulationScript - Class in org.opentrafficsim.swing.script
-
Template for simulation script.
- AbstractSimulationScript(String, String) - Constructor for class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Constructor.
- actionPerformed(ActionEvent) - Method in class org.opentrafficsim.swing.gui.ColorControlPanel
- actionPerformed(ActionEvent) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
- actionPerformed(ActionEvent) - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
- actionPerformed(ActionEvent) - Method in class org.opentrafficsim.swing.gui.OTSSearchPanel
- addAllToggleGISButtonText(String, GisRenderable2D, String) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Add buttons for toggling all GIS layers on or off.
- addConsoleTab() - Method in class org.opentrafficsim.swing.gui.OTSSimulationPanel
-
Adds the console tab.
- addItem(GTUColorer) - Method in class org.opentrafficsim.swing.gui.ColorControlPanel
-
Add one item to this ColorControlPanel.
- addPopUpMenuItems(JPopupMenu) - Method in class org.opentrafficsim.swing.graphs.SwingContourPlot
-
Overridable method to add pop up items.
- addPopUpMenuItems(JPopupMenu) - Method in class org.opentrafficsim.swing.graphs.SwingFundamentalDiagram
-
Overridable method to add pop up items.
- addPopUpMenuItems(JPopupMenu) - Method in class org.opentrafficsim.swing.graphs.SwingPlot
-
Overridable method to add pop up items.
- addPopUpMenuItems(JPopupMenu) - Method in class org.opentrafficsim.swing.graphs.SwingSpaceTimePlot
-
Overridable method to add pop up items.
- addPropertiesTab() - Method in class org.opentrafficsim.swing.gui.OTSSimulationPanel
-
Adds the properties tab.
- addPropertyChangeListener(PropertyChangeListener) - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
- addPropertyChangeListener(String, PropertyChangeListener) - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
- addTabs() - Method in class org.opentrafficsim.swing.gui.OTSSimulationApplication
-
Adds tabs.
- addTabs(OTSSimulatorInterface, OTSSimulationApplication<?>) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Adds tabs to the animation.
- addToggleAnimationButtonIcon(String, Class<? extends Locatable>, String, String, boolean, boolean) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Add a button for toggling an animatable class on or off.
- addToggleAnimationButtonText(String, Class<? extends Locatable>, String, boolean) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Add a button for toggling an animatable class on or off.
- addToggleGISButtonText(String, String, GisRenderable2D, String) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Add a button to toggle a GIS Layer on or off.
- addToggleText(String) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Add a text to explain animatable classes.
- animateNetwork() - Method in class org.opentrafficsim.swing.gui.OTSSimulationApplication
-
Creates the animation objects.
- animateNetwork(OTSNetwork) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Creates animations for nodes, links and lanes.
- AnimationToggles - Class in org.opentrafficsim.swing.gui
-
Set the default animation toggles for the animation panel.
- Appearance - Enum in org.opentrafficsim.swing.gui
-
Contains a background color, foreground color and a font name, to be set throughout all components.
- AppearanceControl - Interface in org.opentrafficsim.swing.gui
-
This interface allows on screen items to not obtain colors and/or the font from an
Appearance
. - autoPauseSimulator() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
-
Pause the simulator.
B
- BLUE - org.opentrafficsim.swing.gui.Appearance
-
Blue.
- BOTTOM - org.opentrafficsim.swing.gui.OTSAnimationPanel.DemoPanelPosition
-
Bottom.
- BRIGHT - org.opentrafficsim.swing.gui.Appearance
-
Bright.
C
- cancelTimer() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel.ClockLabel
-
Cancel the timer task.
- changedUpdate(DocumentEvent) - Method in class org.opentrafficsim.swing.gui.OTSSearchPanel
- check() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
- closed - Variable in class org.opentrafficsim.swing.gui.OTSSwingApplication
-
whether the application has been closed or not.
- closeHandlerRegistered - Variable in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Has the window close handler been registered?
- closeHandlerRegistered - Variable in class org.opentrafficsim.swing.gui.OTSControlPanel
-
Has the window close handler been registered?
- ColorControlPanel - Class in org.opentrafficsim.swing.gui
-
Let the user select what the colors in the animation mean.
- ColorControlPanel(GTUColorer) - Constructor for class org.opentrafficsim.swing.gui.ColorControlPanel
-
Add a ColorControlPanel to an AnimationPanel.
- createDemoPanel(OTSAnimationPanel.DemoPanelPosition) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Creates a demo panel within the animation area.
D
- DARK - org.opentrafficsim.swing.gui.Appearance
-
Dark.
- DEFAULT_COLORER - Static variable in class org.opentrafficsim.swing.gui.OTSSwingApplication
-
Single instance of default colorer, reachable from various places.
- disableSimulationControlButtons() - Method in class org.opentrafficsim.swing.gui.OTSSimulationPanel
-
Disable the simulation or animation buttons in the GUI.
- DisposeOnCloseThread(OTSAnimationPanel) - Constructor for class org.opentrafficsim.swing.gui.OTSAnimationPanel.DisposeOnCloseThread
- DisposeOnCloseThread(OTSControlPanel) - Constructor for class org.opentrafficsim.swing.gui.OTSControlPanel.DisposeOnCloseThread
E
- enableSimulationControlButtons() - Method in class org.opentrafficsim.swing.gui.OTSSimulationPanel
-
Enable the simulation or animation buttons in the GUI.
F
- fixButtons() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
-
Update the enabled state of all the buttons.
- focusGained(FocusEvent) - Method in class org.opentrafficsim.swing.gui.OTSSearchPanel
- focusLost(FocusEvent) - Method in class org.opentrafficsim.swing.gui.OTSSearchPanel
- FOSIM - org.opentrafficsim.swing.gui.Appearance
-
Green.
- frameProperties - Variable in class org.opentrafficsim.swing.gui.OTSSwingApplication
-
Properties for the frame appearance (not simulation related).
G
- getACar() - Method in class org.opentrafficsim.swing.script.IdmOptions
-
Returns the maximum acceleration of cars.
- getAnimationPanel() - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Easy access to the AnimationPanel.
- getAnimationPanel() - Method in class org.opentrafficsim.swing.gui.OTSSimulationApplication
-
Returns the animation panel.
- getAppearance() - Method in class org.opentrafficsim.swing.gui.OTSSwingApplication
-
Returns the appearance.
- getATruck() - Method in class org.opentrafficsim.swing.script.IdmOptions
-
Returns the maximum acceleration of trucks.
- getB() - Method in class org.opentrafficsim.swing.script.IdmOptions
-
Returns the maximum comfortable deceleration.
- getBackdrop() - Method in enum org.opentrafficsim.swing.gui.Appearance
-
Returns the backdrop color.
- getBackground() - Method in enum org.opentrafficsim.swing.gui.Appearance
-
Returns the background color.
- getBorderLayoutPosition() - Method in enum org.opentrafficsim.swing.gui.OTSAnimationPanel.DemoPanelPosition
- getChartMouseListener() - Method in class org.opentrafficsim.swing.graphs.SwingFundamentalDiagram
-
Overridable; may return a chart listener for additional functions.
- getChartMouseListener() - Method in class org.opentrafficsim.swing.graphs.SwingPlot
-
Overridable; may return a chart listener for additional functions.
- getChartMouseListener() - Method in class org.opentrafficsim.swing.graphs.SwingTrajectoryPlot
-
Overridable; may return a chart listener for additional functions.
- getColorControlPanel() - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Access the ColorControlPanel of this ControlPanel.
- getConsole() - Method in class org.opentrafficsim.swing.gui.OTSSimulationPanel
- getDemoPanel() - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Return a panel for on-screen demo controls.
- getFont() - Method in enum org.opentrafficsim.swing.gui.Appearance
-
Returns the font name.
- getForeground() - Method in enum org.opentrafficsim.swing.gui.Appearance
-
Returns the foreground color.
- getGtuColorer() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the GTU colorer.
- getGTUColorer() - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Access the GTUColorer of this animation ControlPanel.
- getModel() - Method in class org.opentrafficsim.swing.gui.OTSSwingApplication
- getName() - Method in enum org.opentrafficsim.swing.gui.Appearance
-
Returns the name.
- getNetwork() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the network.
- getOtsControlPanel() - Method in class org.opentrafficsim.swing.gui.OTSSimulationPanel
-
Return the OTSControlPanel of this OTSSimulationPanel.
- getOtsModel() - Method in class org.opentrafficsim.swing.gui.OTSSimulationPanel
- getOtsSearchPanel() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
-
Provide access to the search panel.
- getPlot() - Method in class org.opentrafficsim.swing.graphs.SwingContourPlot
-
Retrieve the plot.
- getPlot() - Method in class org.opentrafficsim.swing.graphs.SwingFundamentalDiagram
-
Retrieve the plot.
- getPlot() - Method in class org.opentrafficsim.swing.graphs.SwingPlot
-
Retrieve the plot.
- getPlot() - Method in class org.opentrafficsim.swing.graphs.SwingSpaceTimePlot
-
Retrieve the plot.
- getPlot() - Method in class org.opentrafficsim.swing.graphs.SwingTrajectoryPlot
-
Retrieve the plot.
- getProbabilities() - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
-
Retrieve the current probability values.
- getResourceAsStream(String) - Static method in class org.opentrafficsim.swing.gui.Resource
-
Obtains stream for resource, either in IDE or java.
- getSeed() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the seed.
- getSimulationTime() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the simulation time.
- getSimulator() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
- getSimulator() - Method in class org.opentrafficsim.swing.gui.OTSSimulationPanel
- getSimulator() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the simulator.
- getSpeed(double) - Method in class org.opentrafficsim.swing.gui.OTSControlPanel.ClockLabel
-
Returns the simulation speed.
- getSpeedLabel() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel.ClockLabel
- getStartTime() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the start time.
- getStatusBar() - Method in class org.opentrafficsim.swing.gui.OTSSimulationPanel
- getTabbedPane() - Method in class org.opentrafficsim.swing.gui.OTSSimulationPanel
- getTimeFont() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
- getTMax() - Method in class org.opentrafficsim.swing.script.IdmOptions
-
Returns the normal desired headway.
- getTMin() - Method in class org.opentrafficsim.swing.script.IdmOptions
-
Returns the minimum desired headway.
- getWarmupTime() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the warm-up time.
- GRAY - org.opentrafficsim.swing.gui.Appearance
-
Gray.
- GREEN - org.opentrafficsim.swing.gui.Appearance
-
Green.
H
- hideAnimationClass(OTSAnimationPanel, Class<? extends Locatable>) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set a class to be shown in the animation to false.
- hideGISLayer(String) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Set a GIS layer to be hidden in the animation to true.
I
- IdmOptions - Class in org.opentrafficsim.swing.script
-
Class containing a set of command line options for the intelligent driver model (IDM).
- IdmOptions() - Constructor for class org.opentrafficsim.swing.script.IdmOptions
- insertUpdate(DocumentEvent) - Method in class org.opentrafficsim.swing.gui.OTSSearchPanel
- installWindowCloseHandler() - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Install a handler for the window closed event that stops the simulator (if it is running).
- installWindowCloseHandler() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
-
Install a handler for the window closed event that stops the simulator (if it is running).
- isAutorun() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns whether to autorun.
- isBackground() - Method in interface org.opentrafficsim.swing.gui.AppearanceControl
-
Returns whether this item has a controllable background.
- isClosed() - Method in class org.opentrafficsim.swing.gui.OTSSwingApplication
- isFont() - Method in interface org.opentrafficsim.swing.gui.AppearanceControl
-
Returns whether this item has a controllable font.
- isForeground() - Method in interface org.opentrafficsim.swing.gui.AppearanceControl
-
Returns whether this item has a controllable foreground.
- isForeground() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel.ClockLabel
-
Returns whether this item has a controllable foreground.
J
- JFileChooserWithSettings - Class in org.opentrafficsim.swing.gui
-
Small helper class that adds some components to a JFileChooser, the contents of which can be used to retrieve user settings for output.
- JFileChooserWithSettings(Component...) - Constructor for class org.opentrafficsim.swing.gui.JFileChooserWithSettings
-
Constructor that adds components to the left of the 'Save' and 'Cancel' button.
L
- LabeledPanel - Class in org.opentrafficsim.swing.gui
-
JPanel with an outline and a name.
- LabeledPanel(String) - Constructor for class org.opentrafficsim.swing.gui.LabeledPanel
-
Create a JPanel with border and caption.
- LEFT - org.opentrafficsim.swing.gui.OTSAnimationPanel.DemoPanelPosition
-
Left.
- LEGACY - org.opentrafficsim.swing.gui.Appearance
-
Legacy, as the initial OTS had.
- loadGrayscaleIcon(String) - Static method in class org.opentrafficsim.swing.gui.OTSControlPanel
-
Attempt to load and return an icon, which will be made gray-scale.
- loadIcon(String) - Static method in class org.opentrafficsim.swing.gui.OTSControlPanel
-
Attempt to load and return an icon.
M
- makeAnimationRectangle() - Method in class org.opentrafficsim.swing.gui.OTSSwingApplication
-
Return the initial 'home' extent for the animation.
- MOTUS - org.opentrafficsim.swing.gui.Appearance
-
MOTUS mimic.
N
- notify(EventInterface) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
- notify(EventInterface) - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
- notify(EventInterface) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
O
- onSimulationEnd() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Method that is called when the simulation has ended.
- org.opentrafficsim.swing.graphs - package org.opentrafficsim.swing.graphs
-
Swing components for graphs that are used in OpenTrafficSim.
- org.opentrafficsim.swing.gui - package org.opentrafficsim.swing.gui
-
Swing components that are used in OpenTrafficSim.
- org.opentrafficsim.swing.script - package org.opentrafficsim.swing.script
-
Helper classes for animation.
- OTSAnimationPanel - Class in org.opentrafficsim.swing.gui
-
Animation panel with various controls.
- OTSAnimationPanel(Rectangle2D, Dimension, OTSAnimator, OTSModelInterface, GTUColorer, OTSNetwork) - Constructor for class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Construct a panel that looks like the DSOLPanel for quick building of OTS applications.
- OTSAnimationPanel.DemoPanelPosition - Enum in org.opentrafficsim.swing.gui
-
Enum for demo panel position.
- OTSAnimationPanel.DisposeOnCloseThread - Class in org.opentrafficsim.swing.gui
-
Install the dispose on close when the OTSControlPanel is registered as part of a frame.
- OTSAnimationPanel.UpdateTimer - Class in org.opentrafficsim.swing.gui
-
UpdateTimer class to update the coordinate on the screen.
- OTSControlPanel - Class in org.opentrafficsim.swing.gui
-
Peter's improved simulation control panel.
- OTSControlPanel(DEVSSimulatorInterface.TimeDoubleUnit, OTSModelInterface, OTSAnimationPanel) - Constructor for class org.opentrafficsim.swing.gui.OTSControlPanel
-
Decorate a SimpleSimulator with a different set of control buttons.
- OTSControlPanel.ClockLabel - Class in org.opentrafficsim.swing.gui
-
JLabel that displays the simulation time.
- OTSControlPanel.DisposeOnCloseThread - Class in org.opentrafficsim.swing.gui
-
Install the dispose on close when the OTSControlPanel is registered as part of a frame.
- OTSControlPanel.TimeEdit - Class in org.opentrafficsim.swing.gui
-
Entry field for time.
- OTSSearchPanel - Class in org.opentrafficsim.swing.gui
-
The OTS search panel.
- OTSSearchPanel(OTSAnimationPanel) - Constructor for class org.opentrafficsim.swing.gui.OTSSearchPanel
-
Construct a new OTSSearchPanel.
- OTSSimulationApplication<T extends OTSModelInterface> - Class in org.opentrafficsim.swing.gui
-
Extension of a swing application with standard preparation.
- OTSSimulationApplication(T, OTSAnimationPanel) - Constructor for class org.opentrafficsim.swing.gui.OTSSimulationApplication
- OTSSimulationPanel - Class in org.opentrafficsim.swing.gui
-
GUI with simulator, console, control panel, status bar, etc.
- OTSSimulationPanel(DEVSSimulatorInterface.TimeDoubleUnit, OTSModelInterface) - Constructor for class org.opentrafficsim.swing.gui.OTSSimulationPanel
-
Construct a panel that looks like the DSOLPanel for quick building of OTS applications.
- OTSSwingApplication<T extends OTSModelInterface> - Class in org.opentrafficsim.swing.gui
-
Wrap a DSOL simulation model, or any (descendant of a) JPanel in a JFrame (wrap it in a window).
- OTSSwingApplication(T, JPanel) - Constructor for class org.opentrafficsim.swing.gui.OTSSwingApplication
-
Wrap an OTSModel in a JFrame.
P
- plot - Variable in class org.opentrafficsim.swing.graphs.SwingPlot
-
The JFreeChart plot.
- ProbabilityDistributionEditor - Class in org.opentrafficsim.swing.gui
-
Wrapper for Jeremy Wood's MultiThumbSlider.
- ProbabilityDistributionEditor(String[], Double[]) - Constructor for class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
-
Construct a graphical ProbabilityDistributioneEditor.
- propertyChange(PropertyChangeEvent) - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
R
- RED - org.opentrafficsim.swing.gui.Appearance
-
Red.
- removePropertyChangeListener(PropertyChangeListener) - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
- removePropertyChangeListener(String, PropertyChangeListener) - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
- removeUpdate(DocumentEvent) - Method in class org.opentrafficsim.swing.gui.OTSSearchPanel
- Resource - Class in org.opentrafficsim.swing.gui
-
Resource utility.
- RIGHT - org.opentrafficsim.swing.gui.OTSAnimationPanel.DemoPanelPosition
-
Right.
- run() - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel.DisposeOnCloseThread
- run() - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel.UpdateTimer
- run() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel.DisposeOnCloseThread
S
- selectAndTrackObject(String, String, boolean) - Method in class org.opentrafficsim.swing.gui.OTSSearchPanel
-
Update all values at once.
- setAnimationToggles() - Method in class org.opentrafficsim.swing.gui.OTSSimulationApplication
-
Set animation toggles.
- setAnimationToggles(OTSAnimationPanel) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Sets the animation toggles.
- setAppearance(Appearance) - Method in class org.opentrafficsim.swing.gui.OTSSwingApplication
-
Sets an appearance.
- setAutoPan(String, OTSSearchPanel.ObjectKind<?>, boolean) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Change auto pan target.
- setChart(JFreeChart) - Method in class org.opentrafficsim.swing.graphs.SwingPlot
-
Add the chart.
- setExitOnClose(boolean) - Method in class org.opentrafficsim.swing.gui.OTSSwingApplication
- setGtuColorer(GTUColorer) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Set GTU colorer.
- setIconAnimationTogglesFull(OTSAnimationPanel) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set all animation on, and create the toggles on the left hand side.
- setIconAnimationTogglesStandard(OTSAnimationPanel) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set the most common animation on, and create the toggles on the left hand side.
- setInterpolation(boolean) - Method in class org.opentrafficsim.swing.graphs.SwingContourPlot
-
Sets the check box for interpolated rendering and block renderer setting.
- setSimulationControlButtons(boolean) - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
-
Change the enabled/disabled state of the various simulation control buttons.
- setSmoothing(boolean) - Method in class org.opentrafficsim.swing.graphs.SwingContourPlot
-
Sets the check box for smooth rendering.
- setSpaceGranularityRadioButton(double) - Method in class org.opentrafficsim.swing.graphs.SwingContourPlot
-
Sets the correct space granularity radio button to selected.
- setStatusLabel(String) - Method in class org.opentrafficsim.swing.graphs.SwingPlot
-
Manually set status label from sub class.
- setTextAnimationTogglesFull(OTSAnimationPanel) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set all animation on, and create the toggles on the left hand side.
- setTextAnimationTogglesStandard(OTSAnimationPanel) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set the most common animation on, and create the toggles on the left hand side.
- setTime(Time) - Method in class org.opentrafficsim.swing.gui.OTSControlPanel.TimeEdit
-
Set or update the time shown in this TimeEdit.
- setTimeGranularityRadioButton(double) - Method in class org.opentrafficsim.swing.graphs.SwingContourPlot
-
Sets the correct time granularity radio button to selected.
- setupDemo(OTSAnimationPanel, OTSRoadNetwork) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Method that is called when the animation has been created, to add components for a demo.
- setupSimulation(OTSSimulatorInterface) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Sets up the simulation based on provided properties.
- showAnimationClass(OTSAnimationPanel, Class<? extends Locatable>) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set a class to be shown in the animation to true.
- showAnimationFull(OTSAnimationPanel) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set all animation on, and create the toggles on the left hand side.
- showAnimationStandard(OTSAnimationPanel) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set the most common animation on, and create the toggles on the left hand side.
- showGISLayer(String) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Set a GIS layer to be shown in the animation to true.
- start() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Starts the simulation.
- SwingContourPlot - Class in org.opentrafficsim.swing.graphs
-
Embed a ContourPlot in a Swing JPanel.
- SwingContourPlot(AbstractSpaceTimePlot) - Constructor for class org.opentrafficsim.swing.graphs.SwingContourPlot
-
Create a new SwingContourPlot with embedded plot.
- SwingFundamentalDiagram - Class in org.opentrafficsim.swing.graphs
-
Embed a FundamentalDiagram in a Swing JPanel.
- SwingFundamentalDiagram(FundamentalDiagram) - Constructor for class org.opentrafficsim.swing.graphs.SwingFundamentalDiagram
-
Construct a new Swing container for FundamentalDiagram plot.
- SwingPlot - Class in org.opentrafficsim.swing.graphs
-
Swing wrapper of all plots.
- SwingPlot(AbstractPlot) - Constructor for class org.opentrafficsim.swing.graphs.SwingPlot
-
Construct a new Swing container for an AbstractPlot.
- SwingSpaceTimePlot - Class in org.opentrafficsim.swing.graphs
-
Embed a SpaceTimePlot in a Swing JPanel.
- SwingSpaceTimePlot(AbstractSpaceTimePlot) - Constructor for class org.opentrafficsim.swing.graphs.SwingSpaceTimePlot
-
Construct a new Swing container for SpaceTimePlot.
- SwingTrajectoryPlot - Class in org.opentrafficsim.swing.graphs
-
Embed a TrajectoryPlot in a Swing JPanel.
- SwingTrajectoryPlot(TrajectoryPlot) - Constructor for class org.opentrafficsim.swing.graphs.SwingTrajectoryPlot
-
Construct a new Swing container for a TrajectoryPlot.
T
- toggleGISLayer(String) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Toggle a GIS layer to be displayed in the animation to its reverse value.
- TOP - org.opentrafficsim.swing.gui.OTSAnimationPanel.DemoPanelPosition
-
Top.
- toString() - Method in class org.opentrafficsim.swing.gui.ColorControlPanel
- toString() - Method in class org.opentrafficsim.swing.gui.JFileChooserWithSettings
- toString() - Method in class org.opentrafficsim.swing.gui.LabeledPanel
- toString() - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel.DisposeOnCloseThread
- toString() - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel.UpdateTimer
- toString() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel.ClockLabel
- toString() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel.DisposeOnCloseThread
- toString() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel.TimeEdit
- toString() - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
- toString() - Method in class org.opentrafficsim.swing.gui.OTSSimulationPanel
- toString() - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
U
- updateAnimationClassCheckBox(Class<? extends Locatable>) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Update the checkmark related to a programmatically changed animation state.
- UpdateTimer() - Constructor for class org.opentrafficsim.swing.gui.OTSAnimationPanel.UpdateTimer
- updateWorldCoordinate() - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Display the latest world coordinate based on the mouse position on the screen.
V
- valueOf(String) - Static method in enum org.opentrafficsim.swing.gui.Appearance
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opentrafficsim.swing.gui.OTSAnimationPanel.DemoPanelPosition
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.opentrafficsim.swing.gui.Appearance
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.opentrafficsim.swing.gui.OTSAnimationPanel.DemoPanelPosition
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- windowActivated(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
- windowActivated(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
- windowClosed(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
- windowClosed(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
- windowClosing(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
- windowClosing(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
- windowDeactivated(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
- windowDeactivated(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
- windowDeiconified(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
- windowDeiconified(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
- windowExited - Variable in class org.opentrafficsim.swing.gui.OTSAnimationPanel
-
Indicate the window has been closed and the timer thread can stop.
- windowIconified(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
- windowIconified(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
- windowOpened(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSAnimationPanel
- windowOpened(WindowEvent) - Method in class org.opentrafficsim.swing.gui.OTSControlPanel
All Classes All Packages