Class HTMLDevice
- java.lang.Object
-
- java.awt.GraphicsDevice
-
- nl.tudelft.simulation.dsol.web.animation.HTMLDevice
-
public class HTMLDevice extends GraphicsDevice
HTMLDevice.java.Copyright (c) 2003-2020 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.awt.GraphicsDevice
GraphicsDevice.WindowTranslucency
-
-
Field Summary
-
Fields inherited from class java.awt.GraphicsDevice
TYPE_IMAGE_BUFFER, TYPE_PRINTER, TYPE_RASTER_SCREEN
-
-
Constructor Summary
Constructors Constructor Description HTMLDevice(GraphicsConfiguration htmlGraphicsConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphicsConfiguration[]getConfigurations()GraphicsConfigurationgetDefaultConfiguration()StringgetIDstring()intgetType()-
Methods inherited from class java.awt.GraphicsDevice
getAvailableAcceleratedMemory, getBestConfiguration, getDisplayMode, getDisplayModes, getFullScreenWindow, isDisplayChangeSupported, isFullScreenSupported, isWindowTranslucencySupported, setDisplayMode, setFullScreenWindow
-
-
-
-
Constructor Detail
-
HTMLDevice
public HTMLDevice(GraphicsConfiguration htmlGraphicsConfiguration)
- Parameters:
htmlGraphicsConfiguration- GraphicsConfiguration; the GraphicsConfiguration to add to the HTMLDevice
-
-
Method Detail
-
getType
public int getType()
- Specified by:
getTypein classGraphicsDevice
-
getIDstring
public String getIDstring()
- Specified by:
getIDstringin classGraphicsDevice
-
getConfigurations
public GraphicsConfiguration[] getConfigurations()
- Specified by:
getConfigurationsin classGraphicsDevice
-
getDefaultConfiguration
public GraphicsConfiguration getDefaultConfiguration()
- Specified by:
getDefaultConfigurationin classGraphicsDevice
-
-