Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAffineTransform() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
add AffineTransform to the command.
- addAllToggleGISButtonText(String, GisRenderable2d, String) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Add buttons for toggling all GIS layers on or off.
- addColor(Color) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
add Color to the command.
- addDraw(String, Object...) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
Add a draw command.
- addFontData() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
add font data to the command, font-name, font-size, bold/italic/plain.
- addParameterField(StringBuffer, InputParameter<?, ?>) - Method in class nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer.XHRHandler
-
Add the right type of field for this parameter to the string buffer.
- addRenderingHints(Map<?, ?>) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- addToggleAnimationButtonText(String, Class<? extends Locatable>, String, boolean) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Add a button for toggling an animatable class on or off.
- addToggleGISButtonText(String, String, GisRenderable2d, String) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Add a button to toggle a GIS Layer on or off.
- addToggleText(String) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Add a text to explain animatable classes.
- addTransformDraw(String, Object...) - Method in class nl.tudelft.simulation.dsol.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 nl.tudelft.simulation.dsol.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 nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
Add a path2D to the command.
- addTransformPathFloat(Path2D.Float, boolean) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
Add a path2D to the command.
- addTransformText(String, Object...) - Method in class nl.tudelft.simulation.dsol.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.
- affineTransform - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
the current affine transform.
B
- background - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
the current color of the background for drawing.
- beep() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- bounds - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsConfiguration
-
the bounds, TODO: which should be filled in some way by the window size in the browser.
C
- canvas - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
the drawing canvas.
- checkImage(Image, int, int, ImageObserver) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- CircularModelWeb - Class in org.opentrafficsim.web.test
-
Test4DCrossing.java.
- CircularModelWeb(String, OtsSimulatorInterface, OtsModelInterface) - Constructor for class org.opentrafficsim.web.test.CircularModelWeb
- 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
- clearCommand() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
Clear the commands and put the start tag in.
- clearRect(int, int, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- clip(Shape) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- clipRect(int, int, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- closeAndGetCommands() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
Close the commands and put the end tag in.
- color - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
the current drawing color.
- commands - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
the commands to send over the channel to the HTML5 code.
- composite - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
TODO: the current composite.
- 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 nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- create() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- createGraphics(BufferedImage) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsEnvironment
- createImage(byte[], int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- createImage(ImageProducer) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- createImage(String) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- createImage(URL) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
D
- DefaultsFactory - Class in org.opentrafficsim.web.test
-
Factory for defaults in demos.
- displayWorldCoordinateToolTip() - Method in class nl.tudelft.simulation.dsol.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 nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- DOWN - Static variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the DOWN directions for moving/zooming.
- draw(Shape) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawArc(int, int, int, int, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawFillShape(Shape, boolean) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
Draw or fill a shape.
- drawGlyphVector(GlyphVector, float, float) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawGrid(Graphics) - Method in class nl.tudelft.simulation.dsol.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 nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawImage(Image, int, int, int, int, int, int, int, int, ImageObserver) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawImage(Image, int, int, int, int, Color, ImageObserver) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawImage(Image, int, int, int, int, ImageObserver) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawImage(Image, int, int, Color, ImageObserver) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawImage(Image, int, int, ImageObserver) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawImage(Image, AffineTransform, ImageObserver) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawLine(int, int, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawOval(int, int, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawPolygon(int[], int[], int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawPolyline(int[], int[], int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawRenderableImage(RenderableImage, AffineTransform) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawRenderedImage(RenderedImage, AffineTransform) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawRoundRect(int, int, int, int, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawString(String, float, float) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawString(String, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawString(AttributedCharacterIterator, float, float) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- drawString(AttributedCharacterIterator, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
E
- eventQueue - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
-
the queue of AWT events to process.
- extent - Variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the extent of this panel.
- EXTENT_MARGIN_FACTOR - Static variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
the margin factor 'around' the extent.
F
- fill(Shape) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- fillArc(int, int, int, int, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- fillOval(int, int, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- fillPolygon(int[], int[], int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- fillRect(int, int, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- fillRoundRect(int, int, int, int, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- font - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
the current font.
- fontMetrics - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
the cached current font properties.
- formatter - Variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the formatter to use.
- fullExtent() - Method in class nl.tudelft.simulation.dsol.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 nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsEnvironment
- getAnimationPanel() - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebModel
- getAnimationPanel() - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer
- getAvailableFontFamilyNames() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsEnvironment
- getAvailableFontFamilyNames(Locale) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsEnvironment
- getBackground() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- getBackground() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- getBounds() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsConfiguration
- getClip() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- getClipBounds() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- getColor() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- getColorModel() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsConfiguration
- getColorModel() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- getColorModel(int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsConfiguration
- getComposite() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- getConfigurations() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlDevice
- getDefaultConfiguration() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlDevice
- getDefaultParameters() - Static method in class org.opentrafficsim.web.test.DefaultsFactory
-
Returns a default set of parameters.
- getDefaultScreenDevice() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsEnvironment
- getDefaultTransform() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsConfiguration
- getDevice() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsConfiguration
- getDeviceConfiguration() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- getDragLine() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
- getDrawingCommands() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
Return the set of drawing commands.
- getElements() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
- getExtent() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
returns the extent of this panel.
- getFont() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- getFont() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- getFontList() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- getFontMetrics(Font) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- getFontMetrics(Font) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- getFontMetrics(Font) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- getFontRenderContext() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- getHeight() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- getIDstring() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlDevice
- getImage(String) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- getImage(URL) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- getLayerName() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo.Gis
- getLocatableClass() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo.LocatableClass
- getMinimumDistance() - Method in class org.opentrafficsim.web.test.CircularRoadModel
- getName() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo
- getNetwork() - Method in class org.opentrafficsim.web.test.CircularRoadModel
- getNetwork() - Method in class org.opentrafficsim.web.test.TJunctionModel
- getNormalizingTransform() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsConfiguration
- getPaint() - Method in class nl.tudelft.simulation.dsol.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
- getPreferredSize() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- getPrintJob(Frame, String, Properties) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- getRenderableScale() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- getRenderingHint(RenderingHints.Key) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- getRenderingHints() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- getResource(String) - Method in class nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer.MyResourceHandler
- getScreenDevices() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsEnvironment
- getScreenResolution() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- getScreenSize() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- getSimulator() - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebModel
- getSimulator() - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer
- getSize() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- getStroke() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- getSystemClipboard() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- getSystemEventQueueImpl() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- getTitle() - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebModel
- getTitle() - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer
- getToggleButtons() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
- getToolTipText() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- getToolTipText() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo.Gis
- getToolTipText() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo.LocatableClass
- getTransform() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- getType() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlDevice
- getWidth() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- getWorldCoordinate() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- Gis(String, String, String, boolean) - Constructor for class nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo.Gis
- graphics2D - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsEnvironment
-
the canvas to draw on.
- graphicsConfiguration - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsEnvironment
-
the (dummy) configuration to use.
- GRIDCOLOR - Static variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
gridColor.
- gridSizeX - Variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the gridSize for the X-direction in world Units.
- gridSizeY - Variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the gridSize for the Y-direction in world Units.
H
- handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebModel
-
Delegate handle method from the main web server for this particular model.
- handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer.XHRHandler
- handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer.MyResourceHandler
- handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class nl.tudelft.simulation.dsol.jetty.sse.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 nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Set a class to be hidden in the animation to true.
- hideClass(String) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Hide a Locatable class based on the name.
- hideGISLayer(String) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Set a GIS layer to be hidden in the animation to true.
- hit(Rectangle, Shape, boolean) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- home() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
resets the panel to its original extent.
- homeExtent - Variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the extent of this panel.
- HtmlAnimationPanel - Class in nl.tudelft.simulation.dsol.web.animation.d2
-
The AnimationPanel to display animated (Locatable) objects.
- HtmlAnimationPanel(Bounds2d, OtsSimulatorInterface) - Constructor for class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
constructs a new AnimationPanel.
- htmlDevice - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsConfiguration
-
the
HtmlDevice
associated with thisHTMLGraphicsConfiguration
. - htmlDevice - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsEnvironment
-
the (dummy) device to use in the graphics environment.
- HtmlDevice - Class in nl.tudelft.simulation.dsol.web.animation
-
HTMLDevice.java.
- HtmlDevice(GraphicsConfiguration) - Constructor for class nl.tudelft.simulation.dsol.web.animation.HtmlDevice
- htmlGraphics2D - Variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the HTMLGraphics2D 'shadow' canvas.
- HtmlGraphics2d - Class in nl.tudelft.simulation.dsol.web.animation
-
HTMLGraphics.java.
- HtmlGraphics2d() - Constructor for class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- HtmlGraphicsConfiguration - Class in nl.tudelft.simulation.dsol.web.animation
-
The
HTMLGraphicsConfiguration
class describes the characteristics of the HTML canvas in the browser, as a graphics destination to write to. - HtmlGraphicsConfiguration() - Constructor for class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsConfiguration
-
Create a graphics configuration for the HTML device.
- HtmlGraphicsEnvironment - Class in nl.tudelft.simulation.dsol.web.animation
-
HTMLGraphicsEnvironment.java.
- HtmlGraphicsEnvironment() - Constructor for class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsEnvironment
- HtmlGridPanel - Class in nl.tudelft.simulation.dsol.web.animation.d2
-
The VisualizationPanel introduces the gridPanel.
- HtmlGridPanel(Bounds2d) - Constructor for class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
constructs a new VisualizationPanel.
- HtmlGridPanel(Bounds2d, Dimension) - Constructor for class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
constructs a new VisualizationPanel.
- HtmlToolkit - Class in nl.tudelft.simulation.dsol.web.animation
-
HTMLToolkit.java.
- HtmlToolkit() - Constructor for class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
I
- identityTransform - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsConfiguration
-
the identity AffineTransform.
- imageUpdate(Image, int, int, int, int, int) - Method in class nl.tudelft.simulation.dsol.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 nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- isDragLineEnabled() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
- isKilled() - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebModel
- isModalExclusionTypeSupported(Dialog.ModalExclusionType) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- isModalityTypeSupported(Dialog.ModalityType) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- isShowClass(Class<? extends Locatable>) - Method in class nl.tudelft.simulation.dsol.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 nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Test whether the element needs to be shown on the screen or not.
- isShowGrid() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- isShowing() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- isShowToolTip() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- isVisible() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo
L
- lastDimension - Variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the last computed Dimension.
- LEFT - Static variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the LEFT directions for moving/zooming.
- LocatableClass(String, Class<? extends Locatable>, String, boolean) - Constructor for class nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo.LocatableClass
M
- main(String[]) - Static method in class nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer
-
Run a SuperDemo OTS Web server.
- main(String[]) - Static method in class org.opentrafficsim.web.test.CircularModelWeb
- main(String[]) - Static method in class org.opentrafficsim.web.test.TJunctionDemo
-
Start the demo.
- 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 nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
- MyResourceHandler() - Constructor for class nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer.MyResourceHandler
N
- nl.tudelft.simulation.dsol.jetty.sse - package nl.tudelft.simulation.dsol.jetty.sse
-
package-info.java.
- nl.tudelft.simulation.dsol.web.animation - package nl.tudelft.simulation.dsol.web.animation
-
package-info.java.
- nl.tudelft.simulation.dsol.web.animation.d2 - package nl.tudelft.simulation.dsol.web.animation.d2
-
package-info.java.
- nl.tudelft.simulation.dsol.web.inputparameters - package nl.tudelft.simulation.dsol.web.inputparameters
-
package-info.java.
- notify(Event) - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebModel
- notify(Event) - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer
- notify(Event) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
O
- objectAdded(Renderable2dInterface<? extends Locatable>) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Add a locatable object to the animation.
- objectRemoved(Renderable2dInterface<? extends Locatable>) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Remove a locatable object from the animation.
- org.opentrafficsim.web.animation - package org.opentrafficsim.web.animation
-
Web Animation classes specific for OTS.
- org.opentrafficsim.web.test - package org.opentrafficsim.web.test
-
package-info.java.
- OtsWebModel - Class in nl.tudelft.simulation.dsol.jetty.sse
-
OtsWebModel.java.
- OtsWebModel(String, OtsSimulatorInterface) - Constructor for class nl.tudelft.simulation.dsol.jetty.sse.OtsWebModel
- OtsWebServer - Class in nl.tudelft.simulation.dsol.jetty.sse
-
DSOLWebServer.java.
- OtsWebServer(String, OtsSimulatorInterface, Bounds2d) - Constructor for class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer
- OtsWebServer.ServerThread - Class in nl.tudelft.simulation.dsol.jetty.sse
-
Handle in separate thread to avoid 'lock' of the main application.
- OtsWebServer.XHRHandler - Class in nl.tudelft.simulation.dsol.jetty.sse
-
Answer handles the events from the web-based user interface.
P
- paint - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
the current paint.
- paintComponent(HtmlGraphics2d) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Draw the grid.
- paintComponent(HtmlGraphics2d) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
Draw the grid.
- pan(int, double) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
pans the panel in a specified direction.
- preferredSize - Variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the last computed Dimension.
- prepareImage(Image, int, int, ImageObserver) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
R
- renderableScale - Variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the renderable scale (X/Y ratio) to use.
- renderingHints - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
TODO: the current rendering hints.
- repaint() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
Repaint the shadow canvas.
- RIGHT - Static variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the RIGHT directions for moving/zooming.
- rotate(double) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- rotate(double, double, double) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- run() - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer.ServerThread
- run() - Method in class nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer.ServerThread
S
- scale(double, double) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- ServerThread() - Constructor for class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer.ServerThread
- ServerThread() - Constructor for class nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer.ServerThread
- sessionModelMap - Variable in class nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer
-
the map of sessionIds to OtsModelInterface that handles the animation and updates for the started model.
- sessionWebModelMap - Variable in class nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer
-
the map of sessionIds to OTSWebModel that handles the animation and updates for the started model.
- setBackground(Color) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- setBackground(Color) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- setClip(int, int, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- setClip(Shape) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- setColor(Color) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- setComposite(Composite) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- setDevice(HtmlDevice) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsConfiguration
-
Set the
HtmlDevice
associated with thisHTMLGraphicsConfiguration
. - setDragLineEnabled(boolean) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
- setExtent(Bounds2d) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
set a new extent for this panel.
- setFont(Font) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- setFont(Font) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- setKilled(boolean) - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebModel
- setPaint(Paint) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- setPaintMode() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- setPreferredSize(Dimension) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- setRenderableScale(RenderableScale) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- setRenderingHint(RenderingHints.Key, Object) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- setRenderingHints(Map<?, ?>) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- setShowGrid(boolean) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- setShowing(boolean) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- setShowToolTip(boolean) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- setSize(Dimension) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- setSpeedFactor(double) - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebModel
- setSpeedFactor(double) - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer
- setStroke(Stroke) - Method in class nl.tudelft.simulation.dsol.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 nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
- setTransform(AffineTransform) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- setValues(Parameters, GtuType) - Method in class org.opentrafficsim.web.test.InputParameterHelper
- setVisible(boolean) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo
- setWorldCoordinate(Point2d) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
Set the world coordinates based on a mouse move.
- setXORMode(Color) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- shear(double, double) - Method in class nl.tudelft.simulation.dsol.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 nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Set a class to be shown in the animation to true.
- showClass(String) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Show a Locatable class based on the name.
- showGISLayer(String) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Set a GIS layer to be shown in the animation to true.
- showGrid - Variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
show the grid.
- showGrid(boolean) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
show the grid?
- showToolTip - Variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
whether to show a tooltip with the coordinates or not.
- size - Variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the last computed Dimension.
- startSimulator() - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebModel
-
Try to start the simulator, and return whether the simulator has been started.
- startSimulator() - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer
-
Try to start the simulator, and return whether the simulator has been started.
- stopSimulator() - Method in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebModel
-
Try to stop the simulator, and return whether the simulator has been stopped.
- stopSimulator() - Method in class nl.tudelft.simulation.dsol.jetty.sse.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.
- stroke - Variable in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
-
the current stroke.
- sync() - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlToolkit
T
- TestDemoServer - Class in nl.tudelft.simulation.dsol.jetty.sse
-
DSOLWebServer.java.
- TestDemoServer() - Constructor for class nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer
- TestDemoServer.MyResourceHandler - Class in nl.tudelft.simulation.dsol.jetty.sse
- TestDemoServer.ServerThread - Class in nl.tudelft.simulation.dsol.jetty.sse
-
Handle in separate thread to avoid 'lock' of the main application.
- TestDemoServer.XHRHandler - Class in nl.tudelft.simulation.dsol.jetty.sse
-
Answer handles the events from the web-based user interface for a demo.
- Text(String, boolean) - Constructor for class nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo.Text
- 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
- ToggleButtonInfo - Class in nl.tudelft.simulation.dsol.web.animation.d2
-
ToggleButtonInfo.java.
- ToggleButtonInfo(String, boolean) - Constructor for class nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo
- ToggleButtonInfo.Gis - Class in nl.tudelft.simulation.dsol.web.animation.d2
-
ToggleButtonInfo.Gis.
- ToggleButtonInfo.LocatableClass - Class in nl.tudelft.simulation.dsol.web.animation.d2
-
ToggleButtonInfo.LocatableClass.
- ToggleButtonInfo.Text - Class in nl.tudelft.simulation.dsol.web.animation.d2
-
ToggleButtonInfo.Text.
- toggleClass(Class<? extends Locatable>) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Toggle a class to be displayed in the animation to its reverse value.
- toggleGISLayer(String) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
Toggle a GIS layer to be displayed in the animation to its reverse value.
- transform(AffineTransform) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- translate(double, double) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
- translate(int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.HtmlGraphics2d
U
- UP - Static variable in class nl.tudelft.simulation.dsol.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.
- webServer - Variable in class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer.XHRHandler
-
web server for callback of actions.
- worldCoordinate - Variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the last known world coordinate of the mouse.
X
- XHRHandler(OtsWebServer) - Constructor for class nl.tudelft.simulation.dsol.jetty.sse.OtsWebServer.XHRHandler
-
Create the handler for Servlet requests.
- XHRHandler(TestDemoServer) - Constructor for class nl.tudelft.simulation.dsol.jetty.sse.TestDemoServer.XHRHandler
-
Create the handler for Servlet requests.
Z
- zoom(double) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
zooms in/out.
- zoom(double, int, int) - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
zooms in/out.
- zoomAll() - Method in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlAnimationPanel
-
resets the panel to its an extent that covers all displayed objects.
- ZOOMFACTOR - Static variable in class nl.tudelft.simulation.dsol.web.animation.d2.HtmlGridPanel
-
the ZOOM factor.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form