HeadlessGraphicsEnvironmentpublic class HeadlessGraphicsEnvironment extends org.apache.harmony.awt.gl.CommonGraphicsEnvironment The HeadlessGraphicsEnvironment class is the CommonGraphicsEnvironment
implementation to use in the case where the environment lacks display,
keyboard, and mouse support. |
Methods Summary |
---|
public java.awt.GraphicsDevice | getDefaultScreenDevice()Gets the default screen device as GraphicDevice object.
throw new HeadlessException();
| public java.awt.GraphicsDevice[] | getScreenDevices()Gets an array of all available screen devices.
throw new HeadlessException();
| public boolean | isHeadlessInstance()Returns whether or not a display, keyboard, and mouse are supported in
this graphics environment.
return true;
|
|