API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt. GraphicsDevice View Source
Author(s)
Since
Version
1.41, 07/31/06
Serial
Hierarchy
 Object
      GraphicsDevice
Implements
Subclasses
Description
publicabstract abstract class GraphicsDevice
  The GraphicsDevice class describes the graphics devices that might be available in a particular graphics environment.
Constructors
protected GraphicsDevice ()
  This is an abstract class that cannot be instantiated directly.
Methods
Hide/Show inherited methods
public int getAvailableAcceleratedMemory ()
  This method returns the number of bytes available in accelerated memory on this device.
public GraphicsConfiguration getBestConfiguration (GraphicsConfigTemplate gct)
  Returns the "best" configuration possible that passes the criteria defined in the GraphicsConfigTemplate.
publicabstract GraphicsConfiguration getConfigurations ()
  Returns all of the GraphicsConfiguration objects associated with this GraphicsDevice.
publicabstract GraphicsConfiguration getDefaultConfiguration ()
  Returns the default GraphicsConfiguration associated with this GraphicsDevice.
public DisplayMode getDisplayMode ()
  Returns the current display mode of this GraphicsDevice.
public DisplayMode getDisplayModes ()
  Returns all display modes available for this GraphicsDevice.
public Window getFullScreenWindow ()
  Returns the Window object representing the full-screen window if the device is in full-screen mode.
publicabstract String getIDstring ()
  Returns the identification string associated with this GraphicsDevice.
publicabstract int getType ()
  Returns the type of this GraphicsDevice.
public boolean isDisplayChangeSupported ()
  Returns true if this GraphicsDevice supports low-level display changes.
public boolean isFullScreenSupported ()
  Returns true if this GraphicsDevice supports full-screen exclusive mode.
public void setDisplayMode (DisplayMode dm)
  Sets the display mode of this graphics device.
public void setFullScreenWindow (Window w)
  Enter full-screen mode, or return to windowed mode.
Fields
Hide/Show inherited fields
publicfinalstatic int TYPE_IMAGE_BUFFER = "2"
  Device is an image buffer.
publicfinalstatic int TYPE_PRINTER = "1"
Device is a printer.
publicfinalstatic int TYPE_RASTER_SCREEN = "0"
Device is a raster screen.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar