类的用途
java.awt.GraphicsDevice
使用 GraphicsDevice 的包
-
GraphicsDevice 在 java.awt 中的用法
java.awt 中返回 GraphicsDevice 的方法修饰符和类型方法描述abstract GraphicsDeviceGraphicsEnvironment.getDefaultScreenDevice()返回默认屏幕GraphicsDevice。abstract GraphicsDeviceGraphicsConfiguration.getDevice()返回与此GraphicsConfiguration关联的GraphicsDevice。PointerInfo.getDevice()返回创建此PointerInfo时鼠标指针所在的GraphicsDevice。abstract GraphicsDevice[]GraphicsEnvironment.getScreenDevices()返回所有屏幕GraphicsDevice对象的数组。java.awt 中的构造函数,参数类型为 GraphicsDevice