Java java.awt GraphicsDevice fields, constructors, methods, implement or subclass

Example usage for Java java.awt GraphicsDevice fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt GraphicsDevice.

The text is from its open source code.

Field

intTYPE_RASTER_SCREEN
Device is a raster screen.
intTYPE_PRINTER
Device is a printer.

Method

intgetAvailableAcceleratedMemory()
This method returns the number of bytes available in accelerated memory on this device.
GraphicsConfigurationgetBestConfiguration(GraphicsConfigTemplate gct)
Returns the "best" configuration possible that passes the criteria defined in the GraphicsConfigTemplate .
ClassgetClass()
Returns the runtime class of this Object .
GraphicsConfiguration[]getConfigurations()
Returns all of the GraphicsConfiguration objects associated with this GraphicsDevice .
GraphicsConfigurationgetDefaultConfiguration()
Returns the default GraphicsConfiguration associated with this GraphicsDevice .
DisplayModegetDisplayMode()
Returns the current display mode of this GraphicsDevice .
DisplayMode[]getDisplayModes()
Returns all display modes available for this GraphicsDevice .
WindowgetFullScreenWindow()
Returns the Window object representing the full-screen window if the device is in full-screen mode.
StringgetIDstring()
Returns the identification string associated with this GraphicsDevice .
intgetType()
Returns the type of this GraphicsDevice .
booleanisDisplayChangeSupported()
Returns true if this GraphicsDevice supports low-level display changes.
booleanisFullScreenSupported()
Returns true if this GraphicsDevice supports full-screen exclusive mode.
booleanisWindowTranslucencySupported(WindowTranslucency translucencyKind)
Returns whether the given level of translucency is supported by this graphics device.
voidsetDisplayMode(DisplayMode dm)
Sets the display mode of this graphics device.
voidsetFullScreenWindow(Window w)
Enter full-screen mode, or return to windowed mode.