GraphicsDevice, java.awt.GraphicsConfiguration
| Modifier and Type | Field and Description |
|---|---|
| private final Map | devices
Available X11 screens. |
| private static boolean | |
| private static boolean | |
| private Boolean | |
| private int | mainScreen
The key in the |
| private List | |
| private static boolean | |
| private static boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private static native int | |
| public String | getDefaultFontFaceName()
Returns face name for default font, or null if no face names are used for CompositeFontDescriptors for this platform. |
| public synchronized GraphicsDevice | getDefaultScreenDevice()
Overrides sun. Returns the default screen graphics device. |
| private native int | |
| private static native String | |
| protected native int | getNumScreens()
Implements abstract sun. Returns the number of screen devices of this graphics environment. |
| public synchronized GraphicsDevice | |
| public synchronized GraphicsDevice[] | getScreenDevices()
Overrides sun. Returns an array of all of the screen devices. |
| private synchronized void | |
| private static native void | initDisplay(boolean glxRequested)
This should only be called from the static initializer, so no need for the synchronized keyword. |
| private static native boolean | |
| private static native void | |
| private static void | |
| private static native boolean | |
| public boolean | isDisplayLocal()
Implements abstract sun. Returns true when the display is local, false for remote displays. |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| protected GraphicsDevice | makeScreenDevice(int screennum)
Implements abstract sun. Create and return the screen device with the specified number. |
| public void | paletteChanged()
Overrides sun. Implements sun. From the DisplayChangedListener interface; devices do not need to react to this event. |
| private static native boolean | |
| public void | |
| public boolean |
| devices | back to summary |
|---|---|
| private final Map<Integer, X11GraphicsDevice> devices Available X11 screens. | |
| glxAvailable | back to summary |
|---|---|
| private static boolean glxAvailable | |
| glxVerbose | back to summary |
|---|---|
| private static boolean glxVerbose | |
| isDisplayLocal | back to summary |
|---|---|
| private Boolean isDisplayLocal | |
| mainScreen | back to summary |
|---|---|
| private int mainScreen The key in the | |
| oldDevices | back to summary |
|---|---|
| private List<WeakReference<X11GraphicsDevice>> oldDevices | |
| xRenderAvailable | back to summary |
|---|---|
| private static boolean xRenderAvailable | |
| xRenderVerbose | back to summary |
|---|---|
| private static boolean xRenderVerbose | |
| X11GraphicsEnvironment | back to summary |
|---|---|
| public X11GraphicsEnvironment() | |
| _isDisplayLocal | back to summary |
|---|---|
| private static boolean _isDisplayLocal() | |
| checkShmExt | back to summary |
|---|---|
| private static native int checkShmExt() Checks if Shared Memory extension can be used. Returns: -1 if server doesn't support MITShm 1 if server supports it and it can be used 0 otherwise | |
| getDefaultFontFaceName | back to summary |
|---|---|
| public String getDefaultFontFaceName() Returns face name for default font, or null if no face names are used for CompositeFontDescriptors for this platform. | |
| getDefaultScreenDevice | back to summary |
|---|---|
| public synchronized GraphicsDevice getDefaultScreenDevice() Overrides sun. Doc from sun. Returns the default screen graphics device.
| |
| getDefaultScreenNum | back to summary |
|---|---|
| private native int getDefaultScreenNum() | |
| getDisplayString | back to summary |
|---|---|
| private static native String getDisplayString() | |
| getNumScreens | back to summary |
|---|---|
| protected native int getNumScreens() Implements abstract sun. Doc from sun. Returns the number of screen devices of this graphics environment.
| |
| getScreenDevice | back to summary |
|---|---|
| public synchronized GraphicsDevice getScreenDevice(int screen) | |
| getScreenDevices | back to summary |
|---|---|
| public synchronized GraphicsDevice[] getScreenDevices() Overrides sun. Doc from sun. Returns an array of all of the screen devices.
| |
| initDevices | back to summary |
|---|---|
| private synchronized void initDevices() (Re)create all X11GraphicsDevices, reuses a devices if it is possible. | |
| initDisplay | back to summary |
|---|---|
| private static native void initDisplay(boolean glxRequested) This should only be called from the static initializer, so no need for the synchronized keyword. | |
| initGLX | back to summary |
|---|---|
| private static native boolean initGLX() | |
| initNativeData | back to summary |
|---|---|
| private static native void initNativeData() Initialize the native list of devices. | |
| initStatic | back to summary |
|---|---|
private static void initStatic()
| |
| initXRender | back to summary |
|---|---|
| private static native boolean initXRender(boolean verbose, boolean ignoreLinuxVersion) | |
| isDisplayLocal | back to summary |
|---|---|
| public boolean isDisplayLocal() Implements abstract sun. Doc from sun. Returns true when the display is local, false for remote displays.
| |
| isGLXAvailable | back to summary |
|---|---|
| public static boolean isGLXAvailable() | |
| isGLXVerbose | back to summary |
|---|---|
| public static boolean isGLXVerbose() | |
| isXRenderAvailable | back to summary |
|---|---|
| public static boolean isXRenderAvailable() | |
| isXRenderVerbose | back to summary |
|---|---|
| public static boolean isXRenderVerbose() | |
| makeScreenDevice | back to summary |
|---|---|
| protected GraphicsDevice makeScreenDevice(int screennum) Implements abstract sun. Doc from sun. Create and return the screen device with the specified number. The
device with number
| |
| paletteChanged | back to summary |
|---|---|
| public void paletteChanged() Overrides sun. Implements sun. From the DisplayChangedListener interface; devices do not need to react to this event.
| |
| pRunningXinerama | back to summary |
|---|---|
| private static native boolean pRunningXinerama() | |
| rebuildDevices | back to summary |
|---|---|
| public void rebuildDevices() Updates the list of devices and notify listeners. | |
| runningXinerama | back to summary |
|---|---|
| public boolean runningXinerama() | |