- 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.
- 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.
- getBooleanProperty(String) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the boolean value of given property.
- 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.
- getDoubleProperty(String) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the double value of given property.
- getDurationProperty(String) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the Duration value of given property.
- 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.gui.OTSAnimationPanel
-
Access the GTUColorer of this animation ControlPanel.
- getGtuColorer() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the GTU colorer.
- getIntegerProperty(String) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the int value of given property.
- getLongProperty(String) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the long value of given property.
- 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
-
- getProbabilities() - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
-
Retrieve the current probability values.
- getProperty(String) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the String value of given property.
- getResourceAsStream(String) - Static method in class org.opentrafficsim.swing.gui.Resource
-
Obtains stream for resource, either in IDE or java.
- 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
-
- 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
-
- getTimeProperty(String) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the Time value of given property.
- onSimulationEnd() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Method that is called when the simulation has ended.
- 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.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) - 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.
- 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.
- setAnimationToggles() - Method in class org.opentrafficsim.swing.gui.OTSSimulationApplication
-
Set animation toggles.
- setAppearance(Appearance) - Method in class org.opentrafficsim.swing.gui.OTSSwingApplication
-
Sets an appearance.
- setDefaultProperties() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Sets the default properties.
- 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.
- setProperty(String, Object) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Sets a property.
- 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.
- setupDemo(OTSAnimationPanel, OTSNetwork) - 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.