Index
All Classes and Interfaces|All Packages|Constant Field Values|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.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.
- addChangeListener(ChangeListener) - Method in class com.bric.multislider.MultiThumbSlider
-
This listener will be notified when the colors/positions of this slider are modified.
- 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.
- addThumb(float) - Method in class com.bric.multislider.MultiThumbSlider
-
This creats and inserts a thumb at a position indicated.
- addThumb(int, int) - Method in class com.bric.multislider.MultiThumbSliderUi
-
This will try to add a thumb between index1 and index2.
- 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.
- ADJUST_PROPERTY - Static variable in class com.bric.multislider.MultiThumbSlider
-
The property that is changed when
setValueIsAdjusting(b)
is called. - animateNetwork(Network) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Creates animations for nodes, links and lanes.
- animatingRunnable - Variable in class com.bric.multislider.MultiThumbSliderUi
- animatingThread - Variable in class com.bric.multislider.MultiThumbSliderUi
- AnimationToggles - Class in org.opentrafficsim.swing.gui
-
Set the default animation toggles for the animation 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
. - AppearanceControlComboBox<T> - Class in org.opentrafficsim.swing.gui
-
ComboBox for AppearanceControl.
- AppearanceControlComboBox() - Constructor for class org.opentrafficsim.swing.gui.AppearanceControlComboBox
- AppearanceControlTabbedContentPane(int) - Constructor for class org.opentrafficsim.swing.gui.OtsSimulationPanel.AppearanceControlTabbedContentPane
- AppearanceControlTextField - Class in org.opentrafficsim.swing.gui
-
Text field that ignore appearance on foreground and background.
- AppearanceControlTextField() - Constructor for class org.opentrafficsim.swing.gui.AppearanceControlTextField
- AquaMultiThumbSliderUi<T> - Class in com.bric.multislider
- AquaMultiThumbSliderUi(MultiThumbSlider<T>) - Constructor for class com.bric.multislider.AquaMultiThumbSliderUi
- AUTOADD_PROPERTY - Static variable in class com.bric.multislider.MultiThumbSlider
-
The property that controls whether clicking between thumbs automatically adds a thumb.
- autoPauseSimulator() - Method in class org.opentrafficsim.swing.gui.OtsControlPanel
-
Pause the simulator.
B
- blacks - Static variable in class com.bric.multislider.PlafPaintUtils
-
Four shades of black, each with increasing opacity.
- BLUE - Enum constant in enum class org.opentrafficsim.swing.gui.Appearance
-
Blue.
- BOTTOM - Enum constant in enum class org.opentrafficsim.swing.gui.OtsAnimationPanel.DemoPanelPosition
-
Bottom.
- BRIGHT - Enum constant in enum class org.opentrafficsim.swing.gui.Appearance
-
Bright.
C
- calculateGeometry() - Method in class com.bric.multislider.MultiThumbSliderUi
- calculateTrackRect() - Method in class com.bric.multislider.AquaMultiThumbSliderUi
- calculateTrackRect() - Method in class com.bric.multislider.DefaultMultiThumbSliderUi
- calculateTrackRect() - Method in class com.bric.multislider.MultiThumbSliderUi
- cancelEvent(AbstractPlot) - Method in class org.opentrafficsim.swing.graphs.OtsPlotScheduler
- cancelTimer() - Method in class org.opentrafficsim.swing.gui.OtsControlPanel.ClockLabel
-
Cancel the timer task.
- 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.
- changeListeners - Variable in class com.bric.multislider.MultiThumbSlider
-
ChangeListeners registered with this slider.
- check() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
- Circle - Enum constant in enum class com.bric.multislider.MultiThumbSliderUi.Thumb
- ClockLabel(JLabel) - Constructor for class org.opentrafficsim.swing.gui.OtsControlPanel.ClockLabel
-
Construct a clock panel.
- 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?
- COLLISION_PROPERTY - Static variable in class com.bric.multislider.MultiThumbSlider
-
The property that is changed when
setCollisionPolicy(c)
is called. - collisionComboBox - Variable in class com.bric.multislider.MultiThumbSliderDemo
- 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.
- com.bric.multislider - package com.bric.multislider
- compListener - Variable in class com.bric.multislider.MultiThumbSliderUi
- constructModel() - Method in class org.opentrafficsim.swing.gui.CustomSimulation.CustomModel
- createDemoPanel(OtsAnimationPanel.DemoPanelPosition) - Method in class org.opentrafficsim.swing.gui.OtsAnimationPanel
-
Creates a demo panel within the animation area.
- createValueForInsertion(float) - Method in class com.bric.multislider.MultiThumbSlider
-
This creates a new value for insertion.
- CustomModel(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.swing.gui.CustomSimulation.CustomModel
-
Constructor.
- CustomSimulation - Class in org.opentrafficsim.swing.gui
-
Custom simulation uses the custom model class where the network and other simulation aspects are externally specified.
- CustomSimulation(String, OtsAnimationPanel, CustomSimulation.CustomModel) - Constructor for class org.opentrafficsim.swing.gui.CustomSimulation
-
Create a custom simulation.
- CustomSimulation.CustomModel - Class in org.opentrafficsim.swing.gui
-
Custom simulation.
D
- DARK - Enum constant in enum class 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.
- DEFAULT_FONT_SIZE - Static variable in interface org.opentrafficsim.swing.gui.AppearanceControl
-
Default font size.
- DefaultMultiThumbSliderUi<T> - Class in com.bric.multislider
- DefaultMultiThumbSliderUi(MultiThumbSlider<T>) - Constructor for class com.bric.multislider.DefaultMultiThumbSliderUi
- delete() - Method in class org.opentrafficsim.swing.gui.GhostText
-
Delete ghost text.
- demo(boolean, OtsAnimator, CustomSimulation.CustomModel) - Static method in class org.opentrafficsim.swing.gui.CustomSimulation
-
Start the simulation.
- DEPTH - Variable in class com.bric.multislider.MultiThumbSliderUi
-
The height of a horizontal slider -- or width of a vertical slider.
- 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
- doDoubleClick(int, int) - Method in class com.bric.multislider.MultiThumbSlider
-
An optional method subclasses can override to react to the user's double-click.
- doPopup(int, int) - Method in class com.bric.multislider.MultiThumbSlider
-
An optional method subclasses can override to react to the user's request for a contextual menu.
- drawBevel(Graphics2D, Rectangle) - Static method in class com.bric.multislider.PlafPaintUtils
-
Uses translucent shades of white and black to draw highlights and shadows around a rectangle, and then frames the rectangle with a shade of gray (120).
E
- EmptyPathException - Exception in com.bric.multislider
-
This indicates that a path had no shape data.
- EmptyPathException() - Constructor for exception com.bric.multislider.EmptyPathException
- EmptyPathException(String) - Constructor for exception com.bric.multislider.EmptyPathException
- EmptyPathException(String, Throwable) - Constructor for exception com.bric.multislider.EmptyPathException
- EmptyPathException(Throwable) - Constructor for exception com.bric.multislider.EmptyPathException
- enableSimulationControlButtons() - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Enable the simulation or animation buttons in the GUI.
F
- fireChangeListeners() - Method in class com.bric.multislider.MultiThumbSlider
-
Invokes all the ChangeListeners.
- fixButtons() - Method in class org.opentrafficsim.swing.gui.OtsControlPanel
-
Update the enabled state of all the buttons.
- FOCUS_PADDING - Variable in class com.bric.multislider.DefaultMultiThumbSliderUi
- focusGained(FocusEvent) - Method in class org.opentrafficsim.swing.gui.GhostText
- focusGained(FocusEvent) - Method in class org.opentrafficsim.swing.gui.OtsSearchPanel
- focusListener - Variable in class com.bric.multislider.MultiThumbSliderUi
- 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.
- frameProperties - Variable in class org.opentrafficsim.swing.gui.AppearanceApplication
-
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.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.
- getBorderLayoutPosition() - Method in enum class org.opentrafficsim.swing.gui.OtsAnimationPanel.DemoPanelPosition
- getBounds(PathIterator) - Static method in class com.bric.multislider.ShapeBounds
-
This calculates the precise bounds of a shape.
- getBounds(PathIterator, Rectangle2D) - Static method in class com.bric.multislider.ShapeBounds
-
This calculates the precise bounds of a shape.
- getBounds(Shape) - Static method in class com.bric.multislider.ShapeBounds
-
This calculates the precise bounds of a shape.
- getBounds(Shape[]) - Static method in class com.bric.multislider.ShapeBounds
- getBounds(Shape, AffineTransform) - Static method in class com.bric.multislider.ShapeBounds
-
This calculates the precise bounds of a shape.
- getBounds(Shape, AffineTransform, Rectangle2D) - Static method in class com.bric.multislider.ShapeBounds
-
This calculates the precise bounds of a shape.
- getBounds(Shape, Rectangle2D) - Static method in class com.bric.multislider.ShapeBounds
-
This calculates the precise bounds of a shape.
- 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.
- getCheckerBoard(int) - Static method in class com.bric.multislider.PlafPaintUtils
- getCheckerBoard(int, Color, Color) - Static method in class com.bric.multislider.PlafPaintUtils
- getCollisionPolicy() - Method in class com.bric.multislider.MultiThumbSlider
- 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.
- getFactor() - Method in class org.opentrafficsim.swing.gui.OtsControlPanel.TimeWarpPanel
-
Retrieve the current TimeWarp factor.
- getFocusRingColor() - Static method in class com.bric.multislider.PlafPaintUtils
- 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.
- getFontSize() - Method in class org.opentrafficsim.swing.gui.OtsControlPanel.ClockLabel
-
Returns the font size.
- getFontSize() - Method in class org.opentrafficsim.swing.gui.OtsControlPanel.TimeEdit
-
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.
- 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.
- getKey() - Method in class org.opentrafficsim.swing.gui.OtsSearchPanel.ObjectKind
-
Retrieve the key.
- getMajorJavaVersion() - Static method in class com.bric.multislider.Jvm
-
This converts the system property "java.version" to a float value.
- getMajorJavaVersion(boolean) - Static method in class com.bric.multislider.Jvm
- getMaximumSize(JComponent) - Method in class com.bric.multislider.MultiThumbSliderUi
- getMinimumSize(JComponent) - Method in class com.bric.multislider.MultiThumbSliderUi
- getMinimumThumbnailCount() - Method in class com.bric.multislider.MultiThumbSlider
- getModel() - Method in class org.opentrafficsim.swing.gui.OtsSwingApplication
- getName() - Method in enum class org.opentrafficsim.swing.gui.Appearance
-
Returns the name.
- getNeighbors(int) - Method in class com.bric.multislider.MultiThumbSliderUi.State
-
Return the left (lesser) neighbor and the right (greater) neighbor.
- getNetwork() - Method in class org.opentrafficsim.swing.gui.CustomSimulation.CustomModel
- getNetwork() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the network.
- getOrientation() - Method in class com.bric.multislider.MultiThumbSlider
-
The orientation of this slider.
- 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.
- getPreferredComponentDepth() - Method in class com.bric.multislider.AquaMultiThumbSliderUi
- getPreferredComponentDepth() - Method in class com.bric.multislider.DefaultMultiThumbSliderUi
- getPreferredComponentDepth() - Method in class com.bric.multislider.MultiThumbSliderUi
-
Return the typical height of a horizontally oriented slider, or the width of the vertically oriented slider.
- getPreferredComponentDepth() - Method in class com.bric.multislider.VistaMultiThumbSliderUI
- getPreferredSize(JComponent) - Method in class com.bric.multislider.MultiThumbSliderUi
- getProbabilities() - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
-
Retrieve the current probability values.
- getProfile() - Static method in class com.bric.multislider.Jvm
-
Gets basic information about this session's JVM: the OS name & version, the Java version, and (on Mac) whether Quartz is being used.
- getProperty(JComponent, String, K) - Static method in class com.bric.multislider.MultiThumbSliderUi
-
This retrieves a property.
- getSeed() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns the seed.
- getSelectedThumb() - Method in class com.bric.multislider.MultiThumbSlider
-
Returns the selected thumb index, or -1 if this component doesn't have the keyboard focus.
- getSelectedThumb(boolean) - Method in class com.bric.multislider.MultiThumbSlider
-
Returns the currently selected thumb index.
- getShape(float, float, boolean, boolean) - Method in enum class com.bric.multislider.MultiThumbSliderUi.Thumb
-
Create a thumb that is centered at (0,0) for a horizontally oriented slider.
- getShape(MultiThumbSliderUi<?>, float, float, int, int, boolean, boolean) - Method in enum class com.bric.multislider.MultiThumbSliderUi.Thumb
-
Create a thumb that is centered at (0,0) for a horizontally oriented slider.
- 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.
- getTabbedPane() - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
- getThumb(int) - Method in class com.bric.multislider.MultiThumbSliderUi
-
Return the Thumb option used to render a specific thumb.
- getThumbCenter(float) - Method in class com.bric.multislider.MultiThumbSliderUi
-
Calculate the thumb center based on a fractional position
- getThumbCenter(int) - Method in class com.bric.multislider.MultiThumbSliderUi
-
Calculate the thumb center
- getThumbCount() - Method in class com.bric.multislider.MultiThumbSlider
-
The number of thumbs in this slider.
- getThumbPositions() - Method in class com.bric.multislider.MultiThumbSlider
-
The thumb positions for this slider.
- getThumbShape(int) - Method in class com.bric.multislider.MultiThumbSliderUi
-
Create the shape used to render a specific thumb.
- getThumbShape(int, Point2D) - Method in class com.bric.multislider.MultiThumbSliderUi
-
Create the shape used to render a specific thumb.
- getThumbSize(int) - Method in class com.bric.multislider.AquaMultiThumbSliderUi
- getThumbSize(int) - Method in class com.bric.multislider.DefaultMultiThumbSliderUi
- getThumbSize(int) - Method in class com.bric.multislider.MultiThumbSliderUi
- getThumbSize(int) - Method in class com.bric.multislider.VistaMultiThumbSliderUI
- getTickValues() - Method in class org.opentrafficsim.swing.gui.OtsControlPanel.TimeWarpPanel
-
Access to tickValues map from within the event handler.
- getTime() - Method in class org.opentrafficsim.swing.graphs.OtsPlotScheduler
- 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.
- getTrackOutline() - Method in class com.bric.multislider.DefaultMultiThumbSliderUi
- getTrackOutline() - Method in class com.bric.multislider.VistaMultiThumbSliderUI
- getUI() - Method in class com.bric.multislider.MultiThumbSlider
- getValues() - Method in class com.bric.multislider.MultiThumbSlider
-
The values for thumbs for this slider.
- getVerticalGradient(String, int, int, float[], Color[]) - Static method in class com.bric.multislider.PlafPaintUtils
-
Create a vertical gradient.
- 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.
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.
- HORIZONTAL - Static variable in class com.bric.multislider.MultiThumbSlider
-
The orientation constant for a horizontal slider.
- Hourglass - Enum constant in enum class com.bric.multislider.MultiThumbSliderUi.Thumb
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
- indication - Variable in class com.bric.multislider.MultiThumbSliderUi
-
The overall indication of the thumbs.
- insertUpdate(DocumentEvent) - Method in class org.opentrafficsim.swing.gui.GhostText
- insertUpdate(DocumentEvent) - Method in class org.opentrafficsim.swing.gui.OtsSearchPanel
- install() - Method in class com.bric.multislider.MultiThumbSliderUi.State
-
Make the slider reflect this object
- installUI(JComponent) - Method in class com.bric.multislider.MultiThumbSliderUi
- 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).
- INVERTED_PROPERTY - Static variable in class com.bric.multislider.MultiThumbSlider
-
The property that is changed when
setInverted(b)
is called. - isAutoAdding() - Method in class com.bric.multislider.MultiThumbSlider
- isAutorun() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Returns whether to autorun.
- isBackground() - Method in class org.opentrafficsim.swing.gui.AppearanceControlTextField
- isClosed() - Method in class org.opentrafficsim.swing.gui.OtsSwingApplication
- isFont() - Method in class org.opentrafficsim.swing.gui.AppearanceControlComboBox
- isForeground() - Method in class org.opentrafficsim.swing.gui.AppearanceControlTextField
- isForeground() - Method in class org.opentrafficsim.swing.gui.OtsControlPanel.ClockLabel
- isInverted() - Method in class com.bric.multislider.MultiThumbSlider
- isLinux - Static variable in class com.bric.multislider.Jvm
-
Whether this session is on a Linux machine.
- isMac - Static variable in class com.bric.multislider.Jvm
-
Whether this session is on a Mac.
- isPaintTicks() - Method in class com.bric.multislider.MultiThumbSlider
-
Tells if tick marks are to be painted.
- isThumbOverlap() - Method in class com.bric.multislider.MultiThumbSlider
- isThumbRemovalAllowed() - Method in class com.bric.multislider.MultiThumbSlider
- isTrackHighlightActive() - Method in class com.bric.multislider.DefaultMultiThumbSliderUi
- isValueAdjusting() - Method in class com.bric.multislider.MultiThumbSlider
-
true
if the user is current modifying this component. - isVista - Static variable in class com.bric.multislider.Jvm
-
Whether this session is on Vista.
- isVistaOrWindows7 - Static variable in class com.bric.multislider.Jvm
-
Whether this session is on Windows Vista or Windows 7.
- isWindows - Static variable in class com.bric.multislider.Jvm
-
Whether this session is on Windows.
- isWindows7 - Static variable in class com.bric.multislider.Jvm
-
Whether this session is on Windows 7.
- isWindowsXP - Static variable in class com.bric.multislider.Jvm
-
Whether this session is on Windows XP.
J
- javaVersion - Static variable in class com.bric.multislider.Jvm
-
The major Java version being used (1.4, 1.5, 1.6, etc.), or -1 if this value couldn't be correctly determined.
- 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.
- JUMP_OVER_OTHER - Enum constant in enum class com.bric.multislider.MultiThumbSlider.Collision
-
When the user drags one thumb and it collides with another, skip over the other thumb.
- Jvm - Class in com.bric.multislider
-
Static methods relating to the JVM environment.
- Jvm() - Constructor for class com.bric.multislider.Jvm
K
- keyListener - Variable in class com.bric.multislider.MultiThumbSliderUi
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 - Enum constant in enum class org.opentrafficsim.swing.gui.OtsAnimationPanel.DemoPanelPosition
-
Left.
- LEGACY - Enum constant in enum class 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
- main(String[]) - Static method in class com.bric.multislider.MultiThumbSliderDemo
- makeAnimationRectangle() - Method in class org.opentrafficsim.swing.gui.OtsSwingApplication
-
Return the initial 'home' extent for the animation.
- MAX_LENGTH - Variable in class com.bric.multislider.MultiThumbSliderUi
-
The maximum width returned by
getMaximumSize()
. - MIN_LENGTH - Variable in class com.bric.multislider.MultiThumbSliderUi
-
The minimum width returned by
getMinimumSize()
. - MOTUS - Enum constant in enum class org.opentrafficsim.swing.gui.Appearance
-
MOTUS mimic.
- mouseClicked(MouseEvent) - Method in class com.bric.multislider.MultiThumbSliderUi
- mouseDragged(MouseEvent) - Method in class com.bric.multislider.MultiThumbSliderUi
- mouseEntered(MouseEvent) - Method in class com.bric.multislider.MultiThumbSliderUi
- mouseExited(MouseEvent) - Method in class com.bric.multislider.MultiThumbSliderUi
- mouseInside - Variable in class com.bric.multislider.MultiThumbSliderUi
- mouseIsDown - Variable in class com.bric.multislider.MultiThumbSliderUi
- mouseMoved(MouseEvent) - Method in class com.bric.multislider.MultiThumbSliderUi
- mousePressed(MouseEvent) - Method in class com.bric.multislider.MultiThumbSliderUi
- mouseReleased(MouseEvent) - Method in class com.bric.multislider.MultiThumbSliderUi
- MultiThumbSlider<T> - Class in com.bric.multislider
-
This JComponent resembles a
JSlider
, except there are at least two thumbs. - MultiThumbSlider(float[], T[]) - Constructor for class com.bric.multislider.MultiThumbSlider
-
Creates a new horizontal MultiThumbSlider.
- MultiThumbSlider(int, float[], T[]) - Constructor for class com.bric.multislider.MultiThumbSlider
-
Creates a new MultiThumbSlider.
- MultiThumbSlider.Collision - Enum Class in com.bric.multislider
-
A set of possible behaviors when one thumb collides with another.
- MultiThumbSliderDemo - Class in com.bric.multislider
- MultiThumbSliderDemo() - Constructor for class com.bric.multislider.MultiThumbSliderDemo
- MultiThumbSliderUi<T> - Class in com.bric.multislider
-
This is the abstract UI for
MultiThumbSliders
- MultiThumbSliderUi(MultiThumbSlider<T>) - Constructor for class com.bric.multislider.MultiThumbSliderUi
- MultiThumbSliderUi.State - Class in com.bric.multislider
-
This records the positions/values of each thumb.
- MultiThumbSliderUi.Thumb - Enum Class in com.bric.multislider
-
A thumb shape.
N
- notify(Event) - Method in class org.opentrafficsim.swing.gui.OtsAnimationPanel
- notify(Event) - Method in class org.opentrafficsim.swing.gui.OtsControlPanel
- notify(Event) - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
- NUDGE_OTHER - Enum constant in enum class com.bric.multislider.MultiThumbSlider.Collision
-
When the user drags one thumb and it collides with another, nudge the other thumb as far as possible.
O
- ObjectKind(String) - Constructor for class org.opentrafficsim.swing.gui.OtsSearchPanel.ObjectKind
-
Construct a new ObjectKind (entry in the combo box).
- 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.
- ORIENTATION_PROPERTY - Static variable in class com.bric.multislider.MultiThumbSlider
-
The property that is changed when
setOrientation(i)
is called. - OtsAnimationPanel - Class in org.opentrafficsim.swing.gui
-
Animation panel with various controls.
- OtsAnimationPanel(Rectangle2D, Dimension, OtsAnimator, OtsModelInterface, GtuColorer, Network) - 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 Class 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(OtsSimulatorInterface, 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.RegexFormatter - Class in org.opentrafficsim.swing.gui
-
Extension of a DefaultFormatter that uses a regular expression.
- OtsControlPanel.TimeEdit - Class in org.opentrafficsim.swing.gui
-
Entry field for time.
- OtsControlPanel.TimeWarpPanel - Class in org.opentrafficsim.swing.gui
-
JPanel that contains a JSider that uses a logarithmic scale.
- 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(OtsAnimationPanel) - Constructor for class org.opentrafficsim.swing.gui.OtsSearchPanel
-
Construct a new OtsSearchPanel.
- OtsSearchPanel.ObjectKind<T extends nl.tudelft.simulation.dsol.animation.Locatable & org.djutils.base.Identifiable> - Class in org.opentrafficsim.swing.gui
-
Entries in the typeToSearch JComboBox of the OTS search panel.
- OtsSimulationApplication<T extends org.opentrafficsim.core.dsol.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(OtsSimulatorInterface, OtsModelInterface) - Constructor for class org.opentrafficsim.swing.gui.OtsSimulationPanel
-
Construct a panel that looks like the DSOLPanel for quick building of OTS applications.
- OtsSimulationPanel.AppearanceControlTabbedContentPane - Class in org.opentrafficsim.swing.gui
-
TabbedContentPane which ignores appearance (it has too much colors looking ugly / becoming unreadable).
- OtsSwingApplication<T extends org.opentrafficsim.core.dsol.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.
- overlapOffButton - Variable in class com.bric.multislider.MultiThumbSliderDemo
- overlapOnButton - Variable in class com.bric.multislider.MultiThumbSliderDemo
P
- paint(Graphics, JComponent) - Method in class com.bric.multislider.MultiThumbSliderUi
- PAINT_TICKS_PROPERTY - Static variable in class com.bric.multislider.MultiThumbSlider
-
The property that is changed when
setPaintTicks(b)
is called. - paintFocus(Graphics2D) - Method in class com.bric.multislider.AquaMultiThumbSliderUi
- paintFocus(Graphics2D) - Method in class com.bric.multislider.DefaultMultiThumbSliderUi
- paintFocus(Graphics2D) - Method in class com.bric.multislider.MultiThumbSliderUi
- paintFocus(Graphics2D) - Method in class com.bric.multislider.VistaMultiThumbSliderUI
- paintFocus(Graphics2D, Shape, int) - Static method in class com.bric.multislider.PlafPaintUtils
-
Paints 3 different strokes around a shape to indicate focus.
- paintFocus(Graphics2D, Shape, int, Color, boolean) - Static method in class com.bric.multislider.PlafPaintUtils
-
Paints 3 different strokes around a shape to indicate focus.
- paintThumb(Graphics2D, int, float) - Method in class com.bric.multislider.AquaMultiThumbSliderUi
- paintThumb(Graphics2D, int, float) - Method in class com.bric.multislider.DefaultMultiThumbSliderUi
- paintThumb(Graphics2D, int, float) - Method in class com.bric.multislider.VistaMultiThumbSliderUI
- paintThumbs(Graphics2D) - Method in class com.bric.multislider.DefaultMultiThumbSliderUi
- paintThumbs(Graphics2D) - Method in class com.bric.multislider.MultiThumbSliderUi
- paintTick(Graphics2D, float, int, int, boolean) - Method in class com.bric.multislider.DefaultMultiThumbSliderUi
- paintTrack(Graphics2D) - Method in class com.bric.multislider.AquaMultiThumbSliderUi
- paintTrack(Graphics2D) - Method in class com.bric.multislider.DefaultMultiThumbSliderUi
- paintTrack(Graphics2D) - Method in class com.bric.multislider.MultiThumbSliderUi
- paintTrack(Graphics2D) - Method in class com.bric.multislider.VistaMultiThumbSliderUI
- paintTrackHighlight(Graphics2D) - Method in class com.bric.multislider.DefaultMultiThumbSliderUi
-
This optional method highlights the space on the track (by simply adding a shadow) between two thumbs.
- PlafPaintUtils - Class in com.bric.multislider
-
Some static methods for some common painting functions.
- PlafPaintUtils() - Constructor for class com.bric.multislider.PlafPaintUtils
- plot - Variable in class org.opentrafficsim.swing.graphs.SwingPlot
-
The JFreeChart plot.
- positions - Variable in class com.bric.multislider.MultiThumbSliderUi.State
- PREF_LENGTH - Variable in class com.bric.multislider.MultiThumbSliderUi
-
The maximum width returned by
getPreferredSize()
. - printProfile() - Static method in class com.bric.multislider.Jvm
-
Prints basic information about this session's JVM: the OS name & version, the Java version, and (on Mac) whether Quartz is being used.
- 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.GhostText
- propertyChange(PropertyChangeEvent) - Method in class org.opentrafficsim.swing.gui.OtsControlPanel
- propertyListener - Variable in class com.bric.multislider.MultiThumbSliderUi
R
- Rectangle - Enum constant in enum class com.bric.multislider.MultiThumbSliderUi.Thumb
- RED - Enum constant in enum class org.opentrafficsim.swing.gui.Appearance
-
Red.
- RegexFormatter(String) - Constructor for class org.opentrafficsim.swing.gui.OtsControlPanel.RegexFormatter
-
Create a new RegexFormatter.
- REMOVAL_ALLOWED - Static variable in class com.bric.multislider.MultiThumbSlider
-
The property that controls whether the user can remove a thumb (either by dragging or with the delete key).
- removalOffButton - Variable in class com.bric.multislider.MultiThumbSliderDemo
- removalOnButton - Variable in class com.bric.multislider.MultiThumbSliderDemo
- removeChangeListener(ChangeListener) - Method in class com.bric.multislider.MultiThumbSlider
-
Removes a
ChangeListener
from this slider. - removePropertyChangeListener(PropertyChangeListener) - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
- removePropertyChangeListener(String, PropertyChangeListener) - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
- removeThumb(int) - Method in class com.bric.multislider.MultiThumbSlider
-
Removes a specific thumb
- removeThumb(int) - Method in class com.bric.multislider.MultiThumbSliderUi.State
- 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.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
- scheduleUpdate(Time, AbstractPlot) - Method in class org.opentrafficsim.swing.graphs.OtsPlotScheduler
- searchNetwork(Network, String) - Method in class org.opentrafficsim.swing.gui.OtsSearchPanel.ObjectKind
-
Lookup an object of type T in an OTS network.
- selectAndTrackObject(String, String, boolean) - Method in class org.opentrafficsim.swing.gui.OtsSearchPanel
-
Update all values at once.
- SELECTED_THUMB_PROPERTY - Static variable in class com.bric.multislider.MultiThumbSlider
-
The property that is changed when
setSelectedThumb()
is called. - selectedThumb - Variable in class com.bric.multislider.MultiThumbSliderUi.State
- 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.AppearanceApplication
-
Sets an appearance.
- setAutoAdding(boolean) - Method in class com.bric.multislider.MultiThumbSlider
-
Controls whether thumbs are automatically added when the user clicks in a space that doesn't already have a thumb.
- 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.
- setCollisionPolicy(MultiThumbSlider.Collision) - Method in class com.bric.multislider.MultiThumbSlider
- 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.OtsSwingApplication
- setFontScale(String) - Method in class org.opentrafficsim.swing.gui.AppearanceApplication
-
Set font scale.
- setGhostColor(Color) - Method in class org.opentrafficsim.swing.gui.GhostText
-
Set ghost color.
- 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.
- setInverted(boolean) - Method in class com.bric.multislider.MultiThumbSlider
-
Assigns whether this slider is inverted or not.
- setMinimumThumbnailCount(int) - Method in class com.bric.multislider.MultiThumbSlider
- setNetwork(RoadNetwork) - Method in class org.opentrafficsim.swing.gui.CustomSimulation.CustomModel
-
Set network.
- setOrientation(int) - Method in class com.bric.multislider.MultiThumbSlider
-
Reassign the orientation of this slider.
- setPaintTicks(boolean) - Method in class com.bric.multislider.MultiThumbSlider
-
Turns on/off the painted tick marks for this slider.
- setPosition(int, float) - Method in class com.bric.multislider.MultiThumbSliderUi.State
- setSelectedThumb(int) - Method in class com.bric.multislider.MultiThumbSlider
-
Assigns the currently selected thumb.
- 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.
- setSpeedFactor(double) - Method in class org.opentrafficsim.swing.gui.OtsControlPanel.TimeWarpPanel
-
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(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.
- setThumbOverlap(boolean) - Method in class com.bric.multislider.MultiThumbSlider
- setThumbRemovalAllowed(boolean) - Method in class com.bric.multislider.MultiThumbSlider
- 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.
- setUI(MultiThumbSliderUi<T>) - Method in class com.bric.multislider.MultiThumbSlider
- setupDemo(OtsAnimationPanel, RoadNetwork) - 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.
- setValueIsAdjusting(boolean) - Method in class com.bric.multislider.MultiThumbSlider
-
This is used to notify other objects when the user is in the process of adjusting values in this slider.
- setValues(float[], T[]) - Method in class com.bric.multislider.MultiThumbSlider
-
This assigns new positions/values for the thumbs in this slider.
- ShapeBounds - Class in com.bric.multislider
-
This class features an efficient and accurate
getBounds()
method. - ShapeBounds() - Constructor for class com.bric.multislider.ShapeBounds
- 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.
- slider - Variable in class com.bric.multislider.MultiThumbSliderUi
- slider1 - Variable in class com.bric.multislider.MultiThumbSliderDemo
- slider2 - Variable in class com.bric.multislider.MultiThumbSliderDemo
- slider3 - Variable in class com.bric.multislider.MultiThumbSliderDemo
- slider4 - Variable in class com.bric.multislider.MultiThumbSliderDemo
- sliders - Variable in class com.bric.multislider.MultiThumbSliderDemo
- start() - Method in class org.opentrafficsim.swing.script.AbstractSimulationScript
-
Starts the simulation.
- State() - Constructor for class com.bric.multislider.MultiThumbSliderUi.State
- State(MultiThumbSliderUi.State) - Constructor for class com.bric.multislider.MultiThumbSliderUi.State
- STOP_AGAINST - Enum constant in enum class com.bric.multislider.MultiThumbSlider.Collision
-
When the user drags one thumb and it collides with another, bump into the other thumb and don't allow any more movement.
- stringToValue(String) - Method in class org.opentrafficsim.swing.gui.OtsControlPanel.RegexFormatter
- 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 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
- THUMB_MINIMUM_PROPERTY - Static variable in class com.bric.multislider.MultiThumbSlider
-
The property that is changed when
setMinimumThumbnailCount(b)
is called. - THUMB_OVERLAP_PROPERTY - Static variable in class com.bric.multislider.MultiThumbSlider
-
The property that is changed when
setInverted(b)
is called. - THUMB_SHAPE_PROPERTY - Static variable in class com.bric.multislider.MultiThumbSliderUi
-
The Swing client property associated with a Thumb.
- thumbComboBox - Variable in class com.bric.multislider.MultiThumbSliderDemo
- thumbIndications - Variable in class com.bric.multislider.MultiThumbSliderUi
-
A float from zero to one, indicating whether that thumb should be highlighted or not.
- thumbPositions - Variable in class com.bric.multislider.MultiThumbSlider
-
The positions of the thumbs
- thumbPositions - Variable in class com.bric.multislider.MultiThumbSliderUi
-
The pixel position of the thumbs.
- thumbShapeListener - Variable in class com.bric.multislider.MultiThumbSliderUi
- TimeEdit(Time) - Constructor for class org.opentrafficsim.swing.gui.OtsControlPanel.TimeEdit
-
Construct a new TimeEdit.
- TimeWarpPanel(double, double, double, int, OtsSimulatorInterface) - Constructor for class org.opentrafficsim.swing.gui.OtsControlPanel.TimeWarpPanel
-
Construct a new TimeWarpPanel.
- 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 - Enum constant in enum class org.opentrafficsim.swing.gui.OtsAnimationPanel.DemoPanelPosition
-
Top.
- toString() - Method in class org.opentrafficsim.swing.gui.AppearanceControlComboBox
- toString() - Method in class org.opentrafficsim.swing.gui.AppearanceControlTextField
- 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.RegexFormatter
- toString() - Method in class org.opentrafficsim.swing.gui.OtsControlPanel.TimeEdit
- toString() - Method in class org.opentrafficsim.swing.gui.OtsControlPanel.TimeWarpPanel
- toString() - Method in class org.opentrafficsim.swing.gui.OtsControlPanel
- toString() - Method in class org.opentrafficsim.swing.gui.OtsSearchPanel.ObjectKind
-
Produce the text that will appear in the combo box.
- toString() - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel.AppearanceControlTabbedContentPane
- toString() - Method in class org.opentrafficsim.swing.gui.OtsSimulationPanel
- toString() - Method in class org.opentrafficsim.swing.gui.ProbabilityDistributionEditor
- trackHighlightColor - Variable in class com.bric.multislider.DefaultMultiThumbSliderUi
- trackRect - Variable in class com.bric.multislider.MultiThumbSliderUi
-
The rectangle the track should be painted in.
- transferFocus() - Method in class com.bric.multislider.MultiThumbSlider
-
Depending on which thumb is selected, this may shift the focus to the next available thumb, or it may shift the focus to the next focusable
JComponent
. - transferFocusBackward() - Method in class com.bric.multislider.MultiThumbSlider
-
Depending on which thumb is selected, this may shift the focus to the previous available thumb, or it may shift the focus to the previous focusable
JComponent
. - Triangle - Enum constant in enum class com.bric.multislider.MultiThumbSliderUi.Thumb
U
- uiComboBox - Variable in class com.bric.multislider.MultiThumbSliderDemo
- uninstallUI(JComponent) - Method in class com.bric.multislider.MultiThumbSliderUi
- updateAnimationClassCheckBox(Class<? extends Locatable>) - Method in class org.opentrafficsim.swing.gui.OtsAnimationPanel
-
Update the checkmark related to a programmatically changed animation state.
- updateIndication() - Method in class com.bric.multislider.MultiThumbSliderUi
- UpdateTimer() - Constructor for class org.opentrafficsim.swing.gui.OtsAnimationPanel.UpdateTimer
- updateUI() - Method in class com.bric.multislider.MultiThumbSlider
- updateWorldCoordinate() - Method in class org.opentrafficsim.swing.gui.OtsAnimationPanel
-
Display the latest world coordinate based on the mouse position on the screen.
- usingQuartz - Static variable in class com.bric.multislider.Jvm
-
If on a Mac: whether Quartz is the rendering pipeline.
V
- validatePositions(MultiThumbSliderUi.State) - Method in class com.bric.multislider.MultiThumbSliderUi
-
Makes sure the thumbs are in the right order.
- valueOf(String) - Static method in enum class com.bric.multislider.MultiThumbSlider.Collision
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.bric.multislider.MultiThumbSliderUi.Thumb
-
Returns the enum constant of this class with the specified name.
- 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.OtsAnimationPanel.DemoPanelPosition
-
Returns the enum constant of this class with the specified name.
- values - Variable in class com.bric.multislider.MultiThumbSlider
-
The values for each thumb
- values - Variable in class com.bric.multislider.MultiThumbSliderUi.State
- values() - Static method in enum class com.bric.multislider.MultiThumbSlider.Collision
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.bric.multislider.MultiThumbSliderUi.Thumb
-
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.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.OtsAnimationPanel.DemoPanelPosition
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VALUES_PROPERTY - Static variable in class com.bric.multislider.MultiThumbSlider
-
The property that is changed when
setValues()
is called. - VERTICAL - Static variable in class com.bric.multislider.MultiThumbSlider
-
The orientation constant for a vertical slider.
- VistaMultiThumbSliderUI<T> - Class in com.bric.multislider
- VistaMultiThumbSliderUI(MultiThumbSlider<T>) - Constructor for class com.bric.multislider.VistaMultiThumbSliderUI
W
- whites - Static variable in class com.bric.multislider.PlafPaintUtils
-
Four shades of white, each with increasing opacity.
- 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 and Interfaces|All Packages|Constant Field Values|Serialized Form