Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
java.awt.GraphicsDevice
gnu.awt.xlib.XGraphicsDevice
public class XGraphicsDevice
extends GraphicsDevice
Field Summary |
Fields inherited from class java.awt.GraphicsDevice | |
TYPE_IMAGE_BUFFER , TYPE_PRINTER , TYPE_RASTER_SCREEN |
Constructor Summary | |
|
Method Summary | |
GraphicsConfiguration[] |
|
GraphicsConfiguration |
|
String |
|
int |
|
boolean |
|
boolean |
|
Methods inherited from class java.awt.GraphicsDevice | |
getAvailableAcceleratedMemory , getBestConfiguration , getConfigurations , getDefaultConfiguration , getDisplayMode , getDisplayModes , getFullScreenWindow , getIDstring , getType , isDisplayChangeSupported , isFullScreenSupported , setDisplayMode , setFullScreenWindow |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public GraphicsConfiguration[] getConfigurations()
Return all configurations valid for this device.
- Overrides:
- getConfigurations in interface GraphicsDevice
- Returns:
- an array of configurations
public GraphicsConfiguration getDefaultConfiguration()
Return the default configuration for this device.
- Overrides:
- getDefaultConfiguration in interface GraphicsDevice
- Returns:
- the default configuration
public String getIDstring()
Returns an identification string for the device. This can be vendor-specific, and may be useful for debugging.
- Overrides:
- getIDstring in interface GraphicsDevice
- Returns:
- the identification
public int getType()
Returns the type of the device.
- Overrides:
- getType in interface GraphicsDevice
- Returns:
- the device type
public boolean isDisplayChangeSupported()
Returns whether this device supports low-level display changes. This may depend on whether full-screen exclusive mode is available. XXX The default implementation returns false for now.
- Overrides:
- isDisplayChangeSupported in interface GraphicsDevice
- Returns:
- true if display changes are supported
- Since:
- 1.4
public boolean isFullScreenSupported()
Returns true if the device supports full-screen exclusive mode. The default implementation returns true; subclass it if this is not the case.
- Overrides:
- isFullScreenSupported in interface GraphicsDevice
- Returns:
- true if full screen support is available
- Since:
- 1.4