public final class GraphicsAdapter
extends java.lang.Object
Constructor and Description |
---|
GraphicsAdapter() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<GraphicsAdapter> |
getAdapters()
Collection of available adapters on the system.
|
DisplayMode |
getCurrentDisplayMode()
Gets the current display mode.
|
static GraphicsAdapter |
getDefaultAdapter()
Gets the default adapter.
|
java.lang.String |
getDeviceName()
Retrieves a string that contains the device name for a Microsoft Windows Graphics Device Interface (GDI).
|
DisplayModeCollection |
getSupportedDisplayModes()
Returns a collection of supported display modes for the current adapter.
|
boolean |
IsProfileSupported(GraphicsProfile graphicsProfile)
Tests to see if the adapter supports the requested profile.
|
public static java.util.List<GraphicsAdapter> getAdapters()
public DisplayMode getCurrentDisplayMode()
public static GraphicsAdapter getDefaultAdapter()
public java.lang.String getDeviceName()
public DisplayModeCollection getSupportedDisplayModes()
public boolean IsProfileSupported(GraphicsProfile graphicsProfile)
graphicsProfile
- The graphics profile.