软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
Modifier and Type | Method and Description |
---|---|
DisplayMode |
GraphicsDevice.getDisplayMode()
返回该
GraphicsDevice 当前显示模式。
|
DisplayMode[] |
GraphicsDevice.getDisplayModes()
返回可用于此
GraphicsDevice 所有的显示模式。
|
Modifier and Type | Method and Description |
---|---|
boolean |
DisplayMode.equals(DisplayMode dm)
返回两个显示模式是否相等。
|
void |
GraphicsDevice.setDisplayMode(DisplayMode dm)
设置此图形设备的显示模式。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.