Index
All Classes and Interfaces|All Packages|Serialized Form
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.OtsGtuColorPanel
- actionPerformed(ActionEvent) - Method in class org.opentrafficsim.swing.gui.OtsSearchPanel
- actionPerformed(ActionEvent) - Method in class org.opentrafficsim.swing.gui.OtsSimulationControlPanel
- actionPerformed(ActionEvent) - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
- addAllToggleGisButtonText(String, GisRenderable2d, String) - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Add buttons for toggling all GIS layers on or off.
- addColorer(TrajectoryColorer, boolean) - Method in class org.opentrafficsim.swing.graphs.SwingTrajectoryPlot
-
Add colorer.
- addConsoleTab() - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Adds the console tab.
- addGtuColorer(Colorer<? super Gtu>) - Method in class org.opentrafficsim.swing.gui.OtsGtuColorPanel
-
Add GTU colorer.
- addPopUpMenuItems(JPopupMenu) - Method in class org.opentrafficsim.swing.graphs.SwingContourPlot
- addPopUpMenuItems(JPopupMenu) - Method in class org.opentrafficsim.swing.graphs.SwingFundamentalDiagram
- 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
- addPopUpMenuItems(JPopupMenu) - Method in class org.opentrafficsim.swing.graphs.SwingTrajectoryPlot
- addTabs(OtsSimulationPanel, Network) - Method in interface org.opentrafficsim.swing.gui.OtsSimulationPanelDecorator
-
Adds tabs.
- addToggleAnimationButtonIcon(String, Class<? extends Locatable>, String, String, boolean, boolean) - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Add a button for toggling an animation class on or off.
- addToggleAnimationButtonText(String, Class<? extends Locatable>, String, boolean) - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Add a button for toggling an animation class on or off.
- addToggleGisButtonText(String, String, GisRenderable2d, String, boolean) - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Add a button to toggle a GIS Layer on or off.
- addToggleText(String) - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Add a text to explain animation classes.
- addToList(String, String, int) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Add value to list.
- animateSimulation(OtsSimulationPanel, Network) - Method in interface org.opentrafficsim.swing.gui.OtsSimulationPanelDecorator
-
Creates the animation objects.
- AnimationToggles - Class in org.opentrafficsim.swing.gui
-
Set the default animation toggles for the simulation panel.
- Appearance - Enum Class in org.opentrafficsim.swing.gui
-
Contains a background color, foreground color and a font name, to be set throughout all components.
- AppearanceApplication - Class in org.opentrafficsim.swing.gui
-
Application with global appearance control.
- AppearanceApplication() - Constructor for class org.opentrafficsim.swing.gui.AppearanceApplication
-
Constructor that uses the default content pane.
- AppearanceApplication(JPanel) - Constructor for class org.opentrafficsim.swing.gui.AppearanceApplication
-
Constructor that sets the content pane.
- AppearanceControl - Interface in org.opentrafficsim.swing.gui
-
This interface allows on screen items to not obtain colors and/or the font from an
Appearance. - AppearanceControlButton - Class in org.opentrafficsim.swing.gui
-
Appearance control
JButton. - AppearanceControlButton(Icon) - Constructor for class org.opentrafficsim.swing.gui.AppearanceControlButton
-
Constructor.
- AppearanceControlComboBox<T> - Class in org.opentrafficsim.swing.gui
-
Appearance control
JComboBox. - AppearanceControlComboBox() - Constructor for class org.opentrafficsim.swing.gui.AppearanceControlComboBox
-
Constructor.
- AppearanceControlTabbedContentPane - Class in org.opentrafficsim.swing.gui
-
A
TabbedContentPanewhich ignores appearance (it has too much colors looking ugly / becoming unreadable). - AppearanceControlTabbedContentPane(int) - Constructor for class org.opentrafficsim.swing.gui.AppearanceControlTabbedContentPane
-
Constructor.
- AppearanceControlTextField - Class in org.opentrafficsim.swing.gui
-
Text field that ignores appearance on foreground and background.
- AppearanceControlTextField() - Constructor for class org.opentrafficsim.swing.gui.AppearanceControlTextField
-
Constructor.
- autoPauseSimulator() - Method in class org.opentrafficsim.swing.gui.OtsSimulationControlPanel
-
Pause the simulator.
B
- BLUE - Enum constant in enum class org.opentrafficsim.swing.gui.Appearance
-
Blue.
- BOTTOM - Enum constant in enum class org.opentrafficsim.swing.gui.OtsSimulationPanel.DemoPanelPosition
-
Bottom.
- BRIGHT - Enum constant in enum class org.opentrafficsim.swing.gui.Appearance
-
Bright.
C
- cancelEvent(AbstractPlot<?>) - Method in class org.opentrafficsim.swing.graphs.OtsPlotScheduler
- changedUpdate(DocumentEvent) - Method in class org.opentrafficsim.swing.gui.GhostText
- changedUpdate(DocumentEvent) - Method in class org.opentrafficsim.swing.gui.OtsSearchPanel
- changeFont(Component, String) - Method in class org.opentrafficsim.swing.gui.AppearanceApplication
-
Change font on component.
- changeFontSize(Component) - Method in class org.opentrafficsim.swing.gui.AppearanceApplication
-
Changes the font size of the component.
- check() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
- clearProperty(String) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Removes key from the store.
- contextKey(String, Object) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns a key specific for the sub-context.
- createDemoPanel(OtsSimulationPanel.DemoPanelPosition) - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Creates a demo panel within the animation area.
D
- DARK - Enum constant in enum class org.opentrafficsim.swing.gui.Appearance
-
Dark.
- decorate(OtsSimulationPanel, Network) - Method in interface org.opentrafficsim.swing.gui.OtsSimulationPanelDecorator
-
Invokes all decoration methods.
- DEFAULT_FONT_SIZE - Static variable in interface org.opentrafficsim.swing.gui.AppearanceControl
-
Default font size.
- DEFAULT_GTU_COLORERS - Static variable in interface org.opentrafficsim.swing.gui.OtsSimulationPanelDecorator
-
Default GTU colorers.
- delete() - Method in class org.opentrafficsim.swing.gui.GhostText
-
Delete ghost text.
- disableSimulationControlButtons() - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Disable the simulation or animation buttons in the GUI.
E
- enableSimulationControlButtons() - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Enable the simulation or animation buttons in the GUI.
F
- focusGained(FocusEvent) - Method in class org.opentrafficsim.swing.gui.GhostText
- focusGained(FocusEvent) - Method in class org.opentrafficsim.swing.gui.OtsSearchPanel
- focusLost(FocusEvent) - Method in class org.opentrafficsim.swing.gui.GhostText
- focusLost(FocusEvent) - Method in class org.opentrafficsim.swing.gui.OtsSearchPanel
- FOSIM - Enum constant in enum class org.opentrafficsim.swing.gui.Appearance
-
Green.
G
- getACar() - Method in class org.opentrafficsim.swing.script.IdmOptions
-
Returns the maximum acceleration of cars.
- getAnimationPanel() - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Easy access to the AnimationPanel.
- getAppearance() - Method in class org.opentrafficsim.swing.gui.AppearanceApplication
-
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 class org.opentrafficsim.swing.gui.Appearance
-
Returns the backdrop color.
- getBackground() - Method in enum class org.opentrafficsim.swing.gui.Appearance
-
Returns the background color.
- getBoolean(String) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns boolean for given key.
- getBorderLayoutPosition() - Method in enum class org.opentrafficsim.swing.gui.OtsSimulationPanel.DemoPanelPosition
-
Return border layout position.
- getChartMouseListener() - Method in class org.opentrafficsim.swing.graphs.SwingFundamentalDiagram
- 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.
- getChartPanel() - Method in class org.opentrafficsim.swing.graphs.SwingPlot
-
Returns the chart panel.
- getColor(String) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns color of given key.
- getColorOrDefault(String, Color) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns the property value, or the provided default if there is no value mapped to the key.
- getDecorator() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns a decorator.
- getDemoPanel() - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Return a panel for on-screen demo controls.
- getFont() - Method in enum class org.opentrafficsim.swing.gui.Appearance
-
Returns the font name.
- getFontSize() - Method in interface org.opentrafficsim.swing.gui.AppearanceControl
-
Returns the font size.
- getForeground() - Method in enum class org.opentrafficsim.swing.gui.Appearance
-
Returns the foreground color.
- getGhostColor() - Method in class org.opentrafficsim.swing.gui.GhostText
-
Get ghost color.
- getGtuColorerManager() - Method in class org.opentrafficsim.swing.gui.OtsGtuColorPanel
-
Returns the GTU colorer manager.
- getGtuColorerManager() - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
GTU colorer manager from the GTU color panel.
- getGtuColorers() - Method in interface org.opentrafficsim.swing.gui.OtsSimulationPanelDecorator
-
Return GTU colorers.
- getGtuMarkers() - Method in interface org.opentrafficsim.swing.gui.OtsSimulationPanelDecorator
-
Returns a map of markers to use on GTU types.
- getInteger(String) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns int for given key.
- getIntegerOrDefault(String, boolean) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns the property value, or the provided default if there is no value mapped to the key.
- getIntegerOrDefault(String, int) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns the property value, or the provided default if there is no value mapped to the key.
- getList(String) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns list property.
- getName() - Method in enum class org.opentrafficsim.swing.gui.Appearance
-
Returns the name.
- getNetwork() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the network.
- getOptionalBoolean(String) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns boolean that might not be given for given key.
- getOptionalColor(String) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns color that might not be given for given key.
- getOptionalInteger(String) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns int that might not be given for given key.
- getOptionalProperty(String) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns property that might not be given.
- getPlot() - Method in class org.opentrafficsim.swing.graphs.SwingContourPlot
- 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
- 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.
- getProbability(int) - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
-
Returns the probability of category with given index.
- getProbability(T) - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
-
Returns the probability of the given category.
- getProperty(String) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns the property value.
- getPropertyOrDefault(String, String) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns the property value, or the provided default if there is no value mapped to the key.
- 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.OtsSimulationControlPanel
-
Return simulator.
- getSimulator() - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Return simulator.
- getSimulator() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the simulator.
- getStartTime() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the start time.
- getTabbedPane() - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Return tabbed pane.
- getTime() - Method in class org.opentrafficsim.swing.graphs.OtsPlotScheduler
- getTimeFont() - Method in class org.opentrafficsim.swing.gui.OtsSimulationControlPanel
-
Return time font.
- 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.
- GhostText - Class in org.opentrafficsim.swing.gui
-
Code taken from stack overflow.
- GhostText(JTextComponent, String) - Constructor for class org.opentrafficsim.swing.gui.GhostText
-
Constructor.
- GRAY - Enum constant in enum class org.opentrafficsim.swing.gui.Appearance
-
Gray.
- GREEN - Enum constant in enum class org.opentrafficsim.swing.gui.Appearance
-
Green.
- GTU_TYPE_COLORS - Static variable in interface org.opentrafficsim.swing.gui.OtsSimulationPanelDecorator
-
Standard drawing colors for GTU types.
- GTU_TYPE_MARKERS - Static variable in interface org.opentrafficsim.swing.gui.OtsSimulationPanelDecorator
-
Standard markers for GTU types.
H
- hideAnimationClass(OtsSimulationPanel, 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.OtsSimulationPanel
-
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
-
Constructor.
- insertUpdate(DocumentEvent) - Method in class org.opentrafficsim.swing.gui.GhostText
- insertUpdate(DocumentEvent) - Method in class org.opentrafficsim.swing.gui.OtsSearchPanel
- isAutorun() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns whether to auto-run.
- isBackground() - Method in class org.opentrafficsim.swing.gui.AppearanceControlTextField
- isBackground() - Method in class org.opentrafficsim.swing.gui.OtsGtuColorPanel
- isFont() - Method in class org.opentrafficsim.swing.gui.AppearanceControlButton
- isFont() - Method in class org.opentrafficsim.swing.gui.AppearanceControlComboBox
- isFont() - Method in class org.opentrafficsim.swing.gui.AppearanceControlTabbedContentPane
- isForeground() - Method in class org.opentrafficsim.swing.gui.AppearanceControlTabbedContentPane
- isForeground() - Method in class org.opentrafficsim.swing.gui.AppearanceControlTextField
- isForeground() - Method in class org.opentrafficsim.swing.gui.OtsGtuColorPanel
K
- key(String) - Static method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns a key that complies to upper/lower case convention.
L
- LEFT - Enum constant in enum class org.opentrafficsim.swing.gui.OtsSimulationPanel.DemoPanelPosition
-
Left.
- LEGACY - Enum constant in enum class org.opentrafficsim.swing.gui.Appearance
-
Legacy, as the initial OTS had.
M
- mapIndexToValue(int) - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
- MOTUS - Enum constant in enum class org.opentrafficsim.swing.gui.Appearance
-
MOTUS mimic.
N
- notify(Event) - Method in class org.opentrafficsim.swing.graphs.SwingContourPlot
- notify(Event) - Method in class org.opentrafficsim.swing.graphs.SwingFundamentalDiagram
- notify(Event) - Method in class org.opentrafficsim.swing.gui.OtsSimulationControlPanel
- notify(Event) - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
- notify(Event) - 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.
- OtsGtuColorPanel - Class in org.opentrafficsim.swing.gui
-
Let the user select what the GTU color in the animation means.
- OtsGtuColorPanel() - Constructor for class org.opentrafficsim.swing.gui.OtsGtuColorPanel
-
Constructor.
- OtsPlotScheduler - Class in org.opentrafficsim.swing.graphs
-
This scheduler allows plots to work live with an OTS simulation.
- OtsPlotScheduler(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.swing.graphs.OtsPlotScheduler
-
Constructor.
- OtsSearchPanel - Class in org.opentrafficsim.swing.gui
-
The OTS search panel.
- OtsSearchPanel(OtsSimulationPanel) - Constructor for class org.opentrafficsim.swing.gui.OtsSearchPanel
-
Construct a new OtsSearchPanel.
- OtsSimulationApplication<T extends OtsModelInterface> - Class in org.opentrafficsim.swing.gui
-
Window to animate an OTS simulation.
- OtsSimulationApplication(T, OtsSimulationPanel) - Constructor for class org.opentrafficsim.swing.gui.OtsSimulationApplication
-
Wrap an
OtsModelInterfacein anAppearanceApplication. - OtsSimulationControlPanel - Class in org.opentrafficsim.swing.gui
-
Peter's and Wouter's improved simulation control panel.
- OtsSimulationControlPanel(OtsSimulatorInterface, OtsSimulationPanel) - Constructor for class org.opentrafficsim.swing.gui.OtsSimulationControlPanel
-
Decorate a SimpleSimulator with a different set of control buttons.
- OtsSimulationPanel - Class in org.opentrafficsim.swing.gui
-
Simulation panel with various controls and animation.
- OtsSimulationPanel(Rectangle2D, Network) - Constructor for class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Construct a panel that looks like the DSOLPanel for quick building of OTS applications.
- OtsSimulationPanel(Rectangle2D, Network, OtsSimulationPanelDecorator) - Constructor for class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Construct a panel that looks like the DSOLPanel for quick building of OTS applications.
- OtsSimulationPanel(Network) - Constructor for class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Construct a panel that looks like the DSOLPanel for quick building of OTS applications.
- OtsSimulationPanel(Network, OtsSimulationPanelDecorator) - Constructor for class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Construct a panel that looks like the DSOLPanel for quick building of OTS applications.
- OtsSimulationPanel.DemoPanelPosition - Enum Class in org.opentrafficsim.swing.gui
-
Enum for demo panel position.
- OtsSimulationPanelDecorator - Interface in org.opentrafficsim.swing.gui
-
Decorator for the
OtsSimulationPanel.
P
- paint(Graphics) - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
- plot - Variable in class org.opentrafficsim.swing.graphs.SwingPlot
-
The JFreeChart plot.
- ProbabilityDistributionEditor<T> - Class in org.opentrafficsim.swing.gui
-
Editor for a distribution of probabilities of all possible categories.
- ProbabilityDistributionEditor(List<T>, double[], int) - Constructor for class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
-
Constructor.
- PROPERTIES - Static variable in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Properties.
- PropertiesStore - Class in org.opentrafficsim.swing.gui
-
Class that can be used within a program to load and save properties.
- PropertiesStore(Properties, String, String) - Constructor for class org.opentrafficsim.swing.gui.PropertiesStore
-
Constructor.
- propertyChange(PropertyChangeEvent) - Method in class org.opentrafficsim.swing.gui.GhostText
- propertyChange(PropertyChangeEvent) - Method in class org.opentrafficsim.swing.gui.OtsSimulationControlPanel
R
- RED - Enum constant in enum class org.opentrafficsim.swing.gui.Appearance
-
Red.
- removeFromList(String, String) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Remove value from list.
- removeUpdate(DocumentEvent) - Method in class org.opentrafficsim.swing.gui.GhostText
- removeUpdate(DocumentEvent) - Method in class org.opentrafficsim.swing.gui.OtsSearchPanel
- RIGHT - Enum constant in enum class org.opentrafficsim.swing.gui.OtsSimulationPanel.DemoPanelPosition
-
Right.
S
- save() - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Saves properties.
- scheduleUpdate(Duration, AbstractPlot<?>) - Method in class org.opentrafficsim.swing.graphs.OtsPlotScheduler
- scheduleUpdateNow(AbstractPlot<?>) - Method in class org.opentrafficsim.swing.graphs.OtsPlotScheduler
- selectAndTrackObject(String, String, boolean) - Method in class org.opentrafficsim.swing.gui.OtsSearchPanel
-
Update all values at once.
- separatedName(String) - Static method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Adds a thin space before each capital character in a
String, except the first. - setAnimationToggles(OtsSimulationPanel) - Method in interface org.opentrafficsim.swing.gui.OtsSimulationPanelDecorator
-
Set simulation toggles.
- setAppearance(Appearance) - Method in class org.opentrafficsim.swing.gui.AppearanceApplication
-
Sets an appearance.
- setAutoPan(String, OtsSearchPanel.ObjectKind<?>, boolean) - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Change auto pan target.
- setBoolean(String, boolean) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Set boolean value.
- setCategoryFontSize(float) - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
-
Set the font size for the category labels.
- setCategoryLabelFunction(BiFunction<T, Double, String>) - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
-
Sets the label function.
- setChart(JFreeChart) - Method in class org.opentrafficsim.swing.graphs.SwingPlot
-
Add the chart.
- setColor(String, Color) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Set color.
- setDefaultFont() - Static method in class org.opentrafficsim.swing.gui.AppearanceApplication
-
Sets default font in the UIManager.
- setExitOnClose(boolean) - Method in class org.opentrafficsim.swing.gui.OtsSimulationApplication
-
Set exit on close.
- setFontScale(String) - Method in class org.opentrafficsim.swing.gui.AppearanceApplication
-
Set font scale.
- setForeground(Color) - Method in class org.opentrafficsim.swing.gui.OtsGtuColorPanel
- setGhostColor(Color) - Method in class org.opentrafficsim.swing.gui.GhostText
-
Set ghost color.
- setIconAnimationTogglesFull(OtsSimulationPanel) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set all animation on, and create the toggles on the left hand side.
- setIconAnimationTogglesStandard(OtsSimulationPanel) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set the most common animation on, and create the toggles on the left hand side.
- setInt(String, int) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Set int value.
- setMaxSubContexts(int) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Sets the maximum number of sub-contexts.
- setProperty(String, String) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Sets a property value.
- setProperty(String, String, boolean) - Method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Sets a property value.
- setSimulationControlButtons(boolean) - Method in class org.opentrafficsim.swing.gui.OtsSimulationControlPanel
-
Change the enabled/disabled state of the various simulation control buttons.
- setSpeedFactor(double) - Method in class org.opentrafficsim.swing.gui.OtsSimulationControlPanel
-
Set the time warp factor to the best possible approximation of a given value.
- setStatusLabel(String) - Method in class org.opentrafficsim.swing.graphs.SwingPlot
-
Manually set status label from sub class.
- setTextAnimationTogglesFull(OtsSimulationPanel) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set all animation on, and create the toggles on the left hand side.
- setTextAnimationTogglesStandard(OtsSimulationPanel) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set the most common animation on, and create the toggles on the left hand side.
- setupDemo(OtsSimulationPanel, Network) - Method in interface org.opentrafficsim.swing.gui.OtsSimulationPanelDecorator
-
Setup a demo panel within the simulation panel.
- setupSimulation(OtsSimulatorInterface) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Sets up the simulation based on provided properties.
- showAnimationClass(OtsSimulationPanel, Class<? extends Locatable>) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set a class to be shown in the animation to true.
- showAnimationFull(OtsSimulationPanel) - Static method in class org.opentrafficsim.swing.gui.AnimationToggles
-
Set all animation on, and create the toggles on the left hand side.
- showAnimationStandard(OtsSimulationPanel) - 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.OtsSimulationPanel
-
Set a GIS layer to be shown in the animation to true.
- start() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Starts the simulation.
- startToggleSection(String, boolean) - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Adds a button that can hide all toggles in a section.
- stringToColor(String) - Static method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns color from string.
- SwingContourPlot - Class in org.opentrafficsim.swing.graphs
-
Embed a ContourPlot in a Swing JPanel.
- SwingContourPlot(AbstractContourPlot<?>) - Constructor for class org.opentrafficsim.swing.graphs.SwingContourPlot
-
Create a new SwingContourPlot with embedded plot.
- SwingFundamentalDiagram - Class in org.opentrafficsim.swing.graphs
-
Embed a
FundamentalDiagramin a swingJPanel. - 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.
- SwingTrajectoryPlot(TrajectoryPlot, boolean) - Constructor for class org.opentrafficsim.swing.graphs.SwingTrajectoryPlot
-
Constructor.
T
- toggleGisLayer(String) - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Toggle a GIS layer to be displayed in the animation to its reverse value.
- TOP - Enum constant in enum class org.opentrafficsim.swing.gui.OtsSimulationPanel.DemoPanelPosition
-
Top.
- toString() - Method in class org.opentrafficsim.swing.gui.AppearanceControlButton
- toString() - Method in class org.opentrafficsim.swing.gui.AppearanceControlComboBox
- toString() - Method in class org.opentrafficsim.swing.gui.AppearanceControlTabbedContentPane
- toString() - Method in class org.opentrafficsim.swing.gui.AppearanceControlTextField
- toString() - Method in class org.opentrafficsim.swing.gui.OtsGtuColorPanel
- toString() - Method in class org.opentrafficsim.swing.gui.OtsSimulationControlPanel
U
- updateAnimationClassCheckBox(Class<? extends Locatable>) - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Update the check-mark related to a programmatically changed animation state.
V
- valueOf(String) - Static method in enum class org.opentrafficsim.swing.gui.Appearance
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.opentrafficsim.swing.gui.OtsSimulationPanel.DemoPanelPosition
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.opentrafficsim.swing.gui.Appearance
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.opentrafficsim.swing.gui.OtsSimulationPanel.DemoPanelPosition
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valueToString(boolean) - Static method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Converts boolean to String.
- valueToString(int) - Static method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Converts int to String.
- valueToString(Color) - Static method in class org.opentrafficsim.swing.gui.PropertiesStore
-
Returns string from color.
All Classes and Interfaces|All Packages|Serialized Form