Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addAffineTransform() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
-
add AffineTransform to the command.
- addAllToggleGISButtonText(String, GisRenderable2d, String) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Add buttons for toggling all GIS layers on or off.
- addColor(Color) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
-
add Color to the command.
- addDraw(String, Object...) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
-
Add a draw command.
- addFontData() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
-
add font data to the command, font-name, font-size, bold/italic/plain.
- addParameterField(StringBuffer, InputParameter<?, ?>) - Method in class org.opentrafficsim.web.TestDemoServer.XHRHandler
-
Add the right type of field for this parameter to the string buffer.
- addRenderingHints(Map<?, ?>) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- addToggleAnimationButtonText(String, Class<? extends Locatable>, String, boolean) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Add a button for toggling an animatable class on or off.
- addToggleGISButtonText(String, String, GisRenderable2d, String) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Add a button to toggle a GIS Layer on or off.
- addToggleText(String) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Add a text to explain animatable classes.
- addTransformDraw(String, Object...) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
-
Add command, transform.m11(h-scale), transform.m12(h-skew), transform.m21(v-skew), transform.m22(v-scale), transform.dx(h-translate), transform.dy(v-translate), linecolor.r, linecolor.g, linecolor.b, linecolor.alpha, linecolor.transparency, line-width, params...
- addTransformFill(String, Object...) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
-
Add fill command, transform.m11(h-scale), transform.m12(h-skew), transform.m21(v-skew), transform.m22(v-scale), transform.dx(h-translate), transform.dy(v-translate), color.r, color.g, color.b, color.alpha, color.transparency, params...
- addTransformPathDouble(Path2D.Double, boolean) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
-
Add a path2D to the command.
- addTransformPathFloat(Path2D.Float, boolean) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
-
Add a path2D to the command.
- addTransformText(String, Object...) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
-
Add string, 0=command, 1=transform.m11(h-scale), 2=transform.m12(h-skew), 3=transform.m21(v-skew), 4=transform.m22(v-scale), 5=transform.dx(h-translate), 6=transform.dy(v-translate), 7=color.r, 8=color.g, 9=color.b, 10=color.alpha, 11=color.transparency, 12=fontname, 13=fontsize, 14=fontstyle(normal/italic/bold), 15=x, 16=y, 17=text.
B
- beep() - Method in class org.opentrafficsim.web.animation.HtmlToolkit
C
- checkImage(Image, int, int, ImageObserver) - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- CircularModelWeb - Class in org.opentrafficsim.web.test
-
Test4DCrossing.java.
- CircularModelWeb(String, OtsSimulatorInterface, OtsModelInterface) - Constructor for class org.opentrafficsim.web.test.CircularModelWeb
-
Constructor.
- CircularRoadModel - Class in org.opentrafficsim.web.test
-
Simulate traffic on a circular, two-lane road.
- CircularRoadModel(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.web.test.CircularRoadModel
-
Constructor.
- clearCommand() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
-
Clear the commands and put the start tag in.
- clearRect(int, int, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- clip(Shape) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- clipRect(int, int, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- closeAndGetCommands() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
-
Close the commands and put the end tag in.
- computeVisibleExtent(Bounds2d) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Computes the visible extent, while preserving zoom scale, otherwise dragging the split screen may pump up the zoom factor.
- constructModel() - Method in class org.opentrafficsim.web.test.CircularRoadModel
- constructModel() - Method in class org.opentrafficsim.web.test.TJunctionModel
- copyArea(int, int, int, int, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- create() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- createGraphics(BufferedImage) - Method in class org.opentrafficsim.web.animation.HtmlGraphicsEnvironment
- createImage(byte[], int, int) - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- createImage(ImageProducer) - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- createImage(String) - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- createImage(URL) - Method in class org.opentrafficsim.web.animation.HtmlToolkit
D
- DefaultsFactory - Class in org.opentrafficsim.web.test
-
Factory for defaults in demos.
- displayWorldCoordinateToolTip() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Display a tooltip with the last known world coordinates of the mouse, in case the tooltip should be displayed.
- dispose() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- DOWN - Static variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the DOWN directions for moving/zooming.
- draw(Shape) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawArc(int, int, int, int, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawFillShape(Shape, boolean) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
-
Draw or fill a shape.
- drawGlyphVector(GlyphVector, float, float) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawGrid(Graphics) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Added to make sure the recursive render-call calls THIS render method instead of a potential super-class defined 'paintComponent' render method.
- drawImage(BufferedImage, BufferedImageOp, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawImage(Image, int, int, int, int, int, int, int, int, ImageObserver) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawImage(Image, int, int, int, int, Color, ImageObserver) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawImage(Image, int, int, int, int, ImageObserver) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawImage(Image, int, int, Color, ImageObserver) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawImage(Image, int, int, ImageObserver) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawImage(Image, AffineTransform, ImageObserver) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawLine(int, int, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawOval(int, int, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawPolygon(int[], int[], int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawPolyline(int[], int[], int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawRenderableImage(RenderableImage, AffineTransform) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawRenderedImage(RenderedImage, AffineTransform) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawRoundRect(int, int, int, int, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawString(String, float, float) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawString(String, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawString(AttributedCharacterIterator, float, float) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- drawString(AttributedCharacterIterator, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
E
- extent - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the extent of this panel.
- EXTENT_MARGIN_FACTOR - Static variable in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
the margin factor 'around' the extent.
F
- fill(Shape) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- fillArc(int, int, int, int, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- fillOval(int, int, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- fillPolygon(int[], int[], int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- fillRect(int, int, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- fillRoundRect(int, int, int, int, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- formatter - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the formatter to use.
- fullExtent() - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Calculate the full extent based on the current positions of the objects.
G
- generateGTU(Length, Lane, GtuType) - Method in class org.opentrafficsim.web.test.CircularRoadModel
-
Generate one gtu.
- getAllFonts() - Method in class org.opentrafficsim.web.animation.HtmlGraphicsEnvironment
- getAnimationPanel() - Method in class org.opentrafficsim.web.OtsWebModel
-
Return animation panel.
- getAnimationPanel() - Method in class org.opentrafficsim.web.OtsWebServer
-
Get animation panel.
- getAvailableFontFamilyNames() - Method in class org.opentrafficsim.web.animation.HtmlGraphicsEnvironment
- getAvailableFontFamilyNames(Locale) - Method in class org.opentrafficsim.web.animation.HtmlGraphicsEnvironment
- getBackground() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Returns background.
- getBackground() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getBounds() - Method in class org.opentrafficsim.web.animation.HtmlGraphicsConfiguration
- getClip() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getClipBounds() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getColor() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getColorModel() - Method in class org.opentrafficsim.web.animation.HtmlGraphicsConfiguration
- getColorModel() - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- getColorModel(int) - Method in class org.opentrafficsim.web.animation.HtmlGraphicsConfiguration
- getComposite() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getConfigurations() - Method in class org.opentrafficsim.web.animation.HtmlDevice
- getDefaultConfiguration() - Method in class org.opentrafficsim.web.animation.HtmlDevice
- getDefaultParameters() - Static method in class org.opentrafficsim.web.test.DefaultsFactory
-
Returns a default set of parameters.
- getDefaultScreenDevice() - Method in class org.opentrafficsim.web.animation.HtmlGraphicsEnvironment
- getDefaultTransform() - Method in class org.opentrafficsim.web.animation.HtmlGraphicsConfiguration
- getDevice() - Method in class org.opentrafficsim.web.animation.HtmlGraphicsConfiguration
- getDeviceConfiguration() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getDragLine() - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Returns drag line.
- getDrawingCommands() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Return the set of drawing commands.
- getElements() - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Return animation elements.
- getExtent() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
returns the extent of this panel.
- getFont() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Returns font.
- getFont() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getFontList() - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- getFontMetrics(Font) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Returns font metrics.
- getFontMetrics(Font) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getFontMetrics(Font) - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- getFontRenderContext() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getGtuColorerManager() - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Returns the GTU colorer manager.
- getHeight() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Returns height.
- getIDstring() - Method in class org.opentrafficsim.web.animation.HtmlDevice
- getImage(String) - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- getImage(URL) - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- getLayerName() - Method in class org.opentrafficsim.web.animation.d2.ToggleButtonInfo.Gis
-
Get layer name.
- getLocatableClass() - Method in class org.opentrafficsim.web.animation.d2.ToggleButtonInfo.LocatableClass
-
Return locatable class.
- getMinimumDistance() - Method in class org.opentrafficsim.web.test.CircularRoadModel
-
Returns the minimum distance.
- getName() - Method in class org.opentrafficsim.web.animation.d2.ToggleButtonInfo
-
Return name.
- getNetwork() - Method in class org.opentrafficsim.web.test.CircularRoadModel
- getNetwork() - Method in class org.opentrafficsim.web.test.TJunctionModel
- getNormalizingTransform() - Method in class org.opentrafficsim.web.animation.HtmlGraphicsConfiguration
- getPaint() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getParametersCar(InputParameterMap) - Static method in class org.opentrafficsim.web.test.InputParameterHelper
-
Get the car parameters as entered.
- getParametersTruck(InputParameterMap) - Static method in class org.opentrafficsim.web.test.InputParameterHelper
-
Get the truck parameters as entered.
- getPath(int) - Method in class org.opentrafficsim.web.test.CircularRoadModel
-
Returns path.
- getPreferredSize() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Returns preferred size.
- getPrintJob(Frame, String, Properties) - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- getRenderableScale() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Returns renderable scale.
- getRenderingHint(RenderingHints.Key) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getRenderingHints() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getScreenDevices() - Method in class org.opentrafficsim.web.animation.HtmlGraphicsEnvironment
- getScreenResolution() - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- getScreenSize() - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- getSimulator() - Method in class org.opentrafficsim.web.OtsWebModel
-
Return simulator.
- getSimulator() - Method in class org.opentrafficsim.web.OtsWebServer
-
Get simulator.
- getSize() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Returns size.
- getStroke() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getSystemClipboard() - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- getSystemEventQueueImpl() - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- getTitle() - Method in class org.opentrafficsim.web.OtsWebModel
-
Return title.
- getTitle() - Method in class org.opentrafficsim.web.OtsWebServer
-
Get title.
- getToggleButtons() - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Returns toggle buttons.
- getToolTipText() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Returns tooltip.
- getToolTipText() - Method in class org.opentrafficsim.web.animation.d2.ToggleButtonInfo.Gis
-
Get tooltip.
- getToolTipText() - Method in class org.opentrafficsim.web.animation.d2.ToggleButtonInfo.LocatableClass
-
Return tooltip.
- getTransform() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- getType() - Method in class org.opentrafficsim.web.animation.HtmlDevice
- getWidth() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Returns width.
- getWorldCoordinate() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Returns world coordinates.
- Gis(String, String, String, boolean) - Constructor for class org.opentrafficsim.web.animation.d2.ToggleButtonInfo.Gis
-
Constructor.
- GRIDCOLOR - Static variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
gridColor.
- gridSizeX - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the gridSize for the X-direction in world Units.
- gridSizeY - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the gridSize for the Y-direction in world Units.
H
- handle(Request, Response, Callback) - Method in class org.opentrafficsim.web.OtsWebModel
-
Delegate handle method from the main web server for this particular model.
- handle(Request, Response, Callback) - Method in class org.opentrafficsim.web.OtsWebServer.XHRHandler
- handle(Request, Response, Callback) - Method in class org.opentrafficsim.web.TestDemoServer.XHRHandler
- hideAnimationClass(HtmlAnimationPanel, Class<? extends Locatable>) - Static method in class org.opentrafficsim.web.animation.WebAnimationToggles
-
Set a class to be shown in the animation to false.
- hideClass(Class<? extends Locatable>) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Set a class to be hidden in the animation to true.
- hideClass(String) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Hide a Locatable class based on the name.
- hideGISLayer(String) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Set a GIS layer to be hidden in the animation to true.
- hit(Rectangle, Shape, boolean) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- home() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
resets the panel to its original extent.
- homeExtent - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the extent of this panel.
- HtmlAnimationPanel - Class in org.opentrafficsim.web.animation.d2
-
The AnimationPanel to display animated (Locatable) objects.
- HtmlAnimationPanel(Bounds2d, OtsSimulatorInterface) - Constructor for class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
constructs a new AnimationPanel.
- HtmlDevice - Class in org.opentrafficsim.web.animation
-
HTMLDevice.java.
- HtmlDevice(GraphicsConfiguration) - Constructor for class org.opentrafficsim.web.animation.HtmlDevice
-
Constructor.
- htmlGraphics2D - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the HTMLGraphics2D 'shadow' canvas.
- HtmlGraphics2d - Class in org.opentrafficsim.web.animation
-
HTMLGraphics.java.
- HtmlGraphics2d() - Constructor for class org.opentrafficsim.web.animation.HtmlGraphics2d
-
Constructor.
- HtmlGraphicsConfiguration - Class in org.opentrafficsim.web.animation
-
The
HTMLGraphicsConfigurationclass describes the characteristics of the HTML canvas in the browser, as a graphics destination to write to. - HtmlGraphicsConfiguration() - Constructor for class org.opentrafficsim.web.animation.HtmlGraphicsConfiguration
-
Create a graphics configuration for the HTML device.
- HtmlGraphicsEnvironment - Class in org.opentrafficsim.web.animation
-
HTMLGraphicsEnvironment.java.
- HtmlGraphicsEnvironment() - Constructor for class org.opentrafficsim.web.animation.HtmlGraphicsEnvironment
-
Constructor.
- HtmlGridPanel - Class in org.opentrafficsim.web.animation.d2
-
The VisualizationPanel introduces the gridPanel.
- HtmlGridPanel(Bounds2d) - Constructor for class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
constructs a new VisualizationPanel.
- HtmlGridPanel(Bounds2d, Dimension) - Constructor for class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
constructs a new VisualizationPanel.
- HtmlToolkit - Class in org.opentrafficsim.web.animation
-
HTMLToolkit.java.
- HtmlToolkit() - Constructor for class org.opentrafficsim.web.animation.HtmlToolkit
-
Constructor.
I
- imageUpdate(Image, int, int, int, int, int) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
- InputParameterHelper - Class in org.opentrafficsim.web.test
-
InputParameterHelper.java.
- InputParameterHelper(InputParameterMap) - Constructor for class org.opentrafficsim.web.test.InputParameterHelper
-
Constructor.
- isDirty() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Return whether the panel is dirty.
- isDragLineEnabled() - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Returns drag line enabled.
- isKilled() - Method in class org.opentrafficsim.web.OtsWebModel
-
Return killed.
- isModalExclusionTypeSupported(Dialog.ModalExclusionType) - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- isModalityTypeSupported(Dialog.ModalityType) - Method in class org.opentrafficsim.web.animation.HtmlToolkit
- isShowClass(Class<? extends Locatable>) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Test whether a certain class needs to be shown on the screen or not.
- isShowElement(Renderable2dInterface<? extends Locatable>) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Test whether the element needs to be shown on the screen or not.
- isShowGrid() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Returns show grid.
- isShowing() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Returns whether panel is showing.
- isShowToolTip() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Returns whether to show tooltip.
- isVisible() - Method in class org.opentrafficsim.web.animation.d2.ToggleButtonInfo
-
Return visible.
L
- lastDimension - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the last computed Dimension.
- lastScreen - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the last stored screen dimensions for zoom-in, zoom-out.
- lastXScale - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the last stored x-scale for zoom-in, zoom-out.
- lastYScale - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the last stored y-scale for zoom-in, zoom-out.
- LEFT - Static variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the LEFT directions for moving/zooming.
- LocatableClass(String, Class<? extends Locatable>, String, boolean) - Constructor for class org.opentrafficsim.web.animation.d2.ToggleButtonInfo.LocatableClass
-
Constructor.
M
- main(String[]) - Static method in class org.opentrafficsim.web.test.CircularModelWeb
-
Main method.
- main(String[]) - Static method in class org.opentrafficsim.web.test.TJunctionDemo
-
Start the demo.
- main(String[]) - Static method in class org.opentrafficsim.web.TestDemoServer
-
Run a SuperDemo OTS Web server.
- makeInputParameterMap() - Method in class org.opentrafficsim.web.test.CircularRoadModel
-
Make a map of input parameters for this demo.
- makeInputParameterMapCar(InputParameterMap, double) - Static method in class org.opentrafficsim.web.test.InputParameterHelper
-
Make a map of input parameters for a demo with a car tabs with parameters.
- makeInputParameterMapCarTruck(InputParameterMap, double) - Static method in class org.opentrafficsim.web.test.InputParameterHelper
-
Make a map of input parameters for a demo with a car/truck ratio and car/truck tabs with parameters.
- makeInputParameterMapTruck(InputParameterMap, double) - Static method in class org.opentrafficsim.web.test.InputParameterHelper
-
Make a map of input parameters for a demo with a truck tabs with parameters.
- mapInputMethodHighlight(InputMethodHighlight) - Method in class org.opentrafficsim.web.animation.HtmlToolkit
N
- notify(Event) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
- notify(Event) - Method in class org.opentrafficsim.web.OtsWebModel
- notify(Event) - Method in class org.opentrafficsim.web.OtsWebServer
O
- objectAdded(Renderable2dInterface<? extends Locatable>) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Add a locatable object to the animation.
- objectRemoved(Renderable2dInterface<? extends Locatable>) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Remove a locatable object from the animation.
- org.opentrafficsim.web - package org.opentrafficsim.web
-
package-info.java.
- org.opentrafficsim.web.animation - package org.opentrafficsim.web.animation
-
package-info.java.
- org.opentrafficsim.web.animation.d2 - package org.opentrafficsim.web.animation.d2
-
package-info.java.
- org.opentrafficsim.web.test - package org.opentrafficsim.web.test
-
package-info.java.
- OtsWebModel - Class in org.opentrafficsim.web
-
OtsWebModel.java.
- OtsWebModel(String, OtsSimulatorInterface) - Constructor for class org.opentrafficsim.web.OtsWebModel
-
Constructor.
- OtsWebServer - Class in org.opentrafficsim.web
-
DSOLWebServer.java.
- OtsWebServer(String, OtsSimulatorInterface, Bounds2d) - Constructor for class org.opentrafficsim.web.OtsWebServer
-
Constructor.
- OtsWebServer.XHRHandler - Class in org.opentrafficsim.web
-
Answer handles the events from the web-based user interface.
P
- paintComponent(HtmlGraphics2d) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
- paintComponent(HtmlGraphics2d) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Draw the grid.
- pan(int, double) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
pans the panel in a specified direction.
- preferredSize - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the last computed Dimension.
- prepareImage(Image, int, int, ImageObserver) - Method in class org.opentrafficsim.web.animation.HtmlToolkit
R
- renderableScale - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the renderable scale (X/Y ratio) to use.
- repaint() - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Repaint the shadow canvas.
- RIGHT - Static variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the RIGHT directions for moving/zooming.
- rotate(double) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- rotate(double, double, double) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
S
- sample(TraceVerifier) - Method in class org.opentrafficsim.web.test.CircularRoadModel
-
Sample the state of the simulation.
- scale(double, double) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- setBackground(Color) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Sets background.
- setBackground(Color) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- setClip(int, int, int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- setClip(Shape) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- setColor(Color) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- setComposite(Composite) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- setDevice(HtmlDevice) - Method in class org.opentrafficsim.web.animation.HtmlGraphicsConfiguration
-
Set the
HtmlDeviceassociated with thisHTMLGraphicsConfiguration. - setDragLineEnabled(boolean) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Sets drag line enabled.
- setExtent(Bounds2d) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
returns the extent of this panel.
- setFont(Font) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Sets font.
- setFont(Font) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- setKilled(boolean) - Method in class org.opentrafficsim.web.OtsWebModel
-
Set killed.
- setPaint(Paint) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- setPaintMode() - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- setPreferredSize(Dimension) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Sets preferred size.
- setRenderableScale(RenderableScale) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Sets renderable scale.
- setRenderingHint(RenderingHints.Key, Object) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- setRenderingHints(Map<?, ?>) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- setShowGrid(boolean) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Sets show grid.
- setShowing(boolean) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Sets whether panel is showing.
- setShowToolTip(boolean) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Sets whether to show tooltip.
- setSize(Dimension) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Sets size.
- setSpeedFactor(double) - Method in class org.opentrafficsim.web.OtsWebModel
-
Set speed factor.
- setSpeedFactor(double) - Method in class org.opentrafficsim.web.OtsWebServer
-
Set speed factor.
- setStroke(Stroke) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- setTextAnimationTogglesFull(HtmlAnimationPanel) - Static method in class org.opentrafficsim.web.animation.WebAnimationToggles
-
Set all commonly used animation on, and create the toggles on the left hand side.
- setTextAnimationTogglesStandard(HtmlAnimationPanel) - Static method in class org.opentrafficsim.web.animation.WebAnimationToggles
-
Set the most common animation on, and create the toggles on the left hand side.
- setToolTipText(String) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Sets tooltip.
- setTransform(AffineTransform) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- setValues(Parameters, GtuType) - Method in class org.opentrafficsim.web.test.InputParameterHelper
- setVisible(boolean) - Method in class org.opentrafficsim.web.animation.d2.ToggleButtonInfo
-
Set visible.
- setWorldCoordinate(Point2d) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
Set the world coordinates based on a mouse move.
- setXORMode(Color) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- shear(double, double) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- showAnimationClass(HtmlAnimationPanel, Class<? extends Locatable>) - Static method in class org.opentrafficsim.web.animation.WebAnimationToggles
-
Set a class to be shown in the animation to true.
- showAnimationFull(HtmlAnimationPanel) - Static method in class org.opentrafficsim.web.animation.WebAnimationToggles
-
Set all commonly used animation on, and create the toggles on the left hand side.
- showAnimationStandard(HtmlAnimationPanel) - Static method in class org.opentrafficsim.web.animation.WebAnimationToggles
-
Set the most common animation on, and create the toggles on the left hand side.
- showClass(Class<? extends Locatable>) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Set a class to be shown in the animation to true.
- showClass(String) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Show a Locatable class based on the name.
- showGISLayer(String) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Set a GIS layer to be shown in the animation to true.
- showGrid - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
show the grid.
- showGrid(boolean) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
show the grid?
- showToolTip - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
whether to show a tooltip with the coordinates or not.
- size - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the last computed Dimension.
- startSimulator() - Method in class org.opentrafficsim.web.OtsWebModel
-
Try to start the simulator, and return whether the simulator has been started.
- startSimulator() - Method in class org.opentrafficsim.web.OtsWebServer
-
Try to start the simulator, and return whether the simulator has been started.
- stopSimulator() - Method in class org.opentrafficsim.web.OtsWebModel
-
Try to stop the simulator, and return whether the simulator has been stopped.
- stopSimulator() - Method in class org.opentrafficsim.web.OtsWebServer
-
Try to stop the simulator, and return whether the simulator has been stopped.
- stopSimulator(OtsSimulatorInterface, String) - Method in class org.opentrafficsim.web.test.CircularRoadModel
-
Stop simulation and throw an Error.
- sync() - Method in class org.opentrafficsim.web.animation.HtmlToolkit
T
- TestDemoServer - Class in org.opentrafficsim.web
-
DSOLWebServer.java.
- TestDemoServer() - Constructor for class org.opentrafficsim.web.TestDemoServer
-
Constructor.
- TestDemoServer.XHRHandler - Class in org.opentrafficsim.web
-
Answer handles the events from the web-based user interface for a demo.
- Text(String, boolean) - Constructor for class org.opentrafficsim.web.animation.d2.ToggleButtonInfo.Text
-
Constructor.
- TJunctionDemo - Class in org.opentrafficsim.web.test
-
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
- TJunctionDemo(String, OtsSimulatorInterface, OtsModelInterface) - Constructor for class org.opentrafficsim.web.test.TJunctionDemo
-
Create a T-Junction demo.
- TJunctionModel - Class in org.opentrafficsim.web.test
-
TJunctionModel.java.
- TJunctionModel(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.web.test.TJunctionModel
-
Constructor.
- ToggleButtonInfo - Class in org.opentrafficsim.web.animation.d2
-
ToggleButtonInfo.java.
- ToggleButtonInfo(String, boolean) - Constructor for class org.opentrafficsim.web.animation.d2.ToggleButtonInfo
-
Constructor.
- ToggleButtonInfo.Gis - Class in org.opentrafficsim.web.animation.d2
-
ToggleButtonInfo.Gis.
- ToggleButtonInfo.LocatableClass - Class in org.opentrafficsim.web.animation.d2
-
ToggleButtonInfo.LocatableClass.
- ToggleButtonInfo.Text - Class in org.opentrafficsim.web.animation.d2
-
ToggleButtonInfo.Text.
- toggleClass(Class<? extends Locatable>) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Toggle a class to be displayed in the animation to its reverse value.
- toggleGISLayer(String) - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
Toggle a GIS layer to be displayed in the animation to its reverse value.
- transform(AffineTransform) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- translate(double, double) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
- translate(int, int) - Method in class org.opentrafficsim.web.animation.HtmlGraphics2d
U
- UP - Static variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the UP directions for moving/zooming.
W
- WebAnimationToggles - Class in org.opentrafficsim.web.animation
-
Set the default animation toggles for the HTML animation panel.
- worldCoordinate - Variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the last known world coordinate of the mouse.
X
- XHRHandler(OtsWebServer) - Constructor for class org.opentrafficsim.web.OtsWebServer.XHRHandler
-
Create the handler for Servlet requests.
- XHRHandler(TestDemoServer) - Constructor for class org.opentrafficsim.web.TestDemoServer.XHRHandler
-
Create the handler for Servlet requests.
Z
- zoom(double) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
zooms in/out.
- zoom(double, int, int) - Method in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
zooms in/out.
- zoomAll() - Method in class org.opentrafficsim.web.animation.d2.HtmlAnimationPanel
-
resets the panel to its an extent that covers all displayed objects.
- ZOOMFACTOR - Static variable in class org.opentrafficsim.web.animation.d2.HtmlGridPanel
-
the ZOOM factor.
All Classes and Interfaces|All Packages|Constant Field Values