软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
Modifier and Type | Method and Description |
---|---|
abstract GraphicsDevice |
GraphicsEnvironment.getDefaultScreenDevice()
返回默认的屏幕
GraphicsDevice 。
|
abstract GraphicsDevice |
GraphicsConfiguration.getDevice()
返回与此相关的
GraphicsDevice
GraphicsConfiguration 。
|
GraphicsDevice |
PointerInfo.getDevice()
返回
GraphicsDevice 鼠标指针在哪里是目前这
PointerInfo 创建。
|
abstract GraphicsDevice[] |
GraphicsEnvironment.getScreenDevices()
返回所有的屏幕
GraphicsDevice 对象数组。
|
Constructor and Description |
---|
Robot(GraphicsDevice screen)
为给定的屏幕设备创建一个机器人。
|
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.