软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.image |
提供创建和修改图像的类。
|
javax.print |
提供了主要的类和接口的java
TM打印服务API。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
Modifier and Type | Method and Description |
---|---|
GraphicsConfiguration |
GraphicsDevice.getBestConfiguration(GraphicsConfigTemplate gct)
返回“最好”的配置成为可能,通过在
GraphicsConfigTemplate 定义的标准。
|
abstract GraphicsConfiguration |
GraphicsConfigTemplate.getBestConfiguration(GraphicsConfiguration[] gc)
返回“最好”的配置成为可能,通过在
GraphicsConfigTemplate 定义的标准。
|
abstract GraphicsConfiguration[] |
GraphicsDevice.getConfigurations()
返回所有与此相关的
GraphicsConfiguration 对象
GraphicsDevice 。
|
abstract GraphicsConfiguration |
GraphicsDevice.getDefaultConfiguration()
返回默认
GraphicsConfiguration 这个
GraphicsDevice 相关。
|
abstract GraphicsConfiguration |
Graphics2D.getDeviceConfiguration()
返回与此相关的设备配置
Graphics2D 。
|
GraphicsConfiguration |
Component.getGraphicsConfiguration()
获取与此相关的
GraphicsConfiguration
Component 。
|
Modifier and Type | Method and Description |
---|---|
abstract GraphicsConfiguration |
GraphicsConfigTemplate.getBestConfiguration(GraphicsConfiguration[] gc)
返回“最好”的配置成为可能,通过在
GraphicsConfigTemplate 定义的标准。
|
ImageCapabilities |
Image.getCapabilities(GraphicsConfiguration gc)
返回一个imagecapabilities对象可以查询到该图像的能力在指定的graphicsconfiguration。
|
Insets |
Toolkit.getScreenInsets(GraphicsConfiguration gc)
获取屏幕的插图。
|
abstract boolean |
GraphicsConfigTemplate.isGraphicsConfigSupported(GraphicsConfiguration gc)
返回一个
boolean 指示是否指定
GraphicsConfiguration 可以用来创建一个绘图表面支持显示功能。
|
Constructor and Description |
---|
Canvas(GraphicsConfiguration config)
构建了一种新的画布了graphicsconfiguration对象。
|
Dialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)
构建了一个初步的看不见的
Dialog 与指定的所有者
Dialog 、标题、情态和
GraphicsConfiguration 。
|
Dialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
构建了一个初步的看不见的
Dialog 与指定的所有者
Frame ,标题,形态,和
GraphicsConfiguration 。
|
Dialog(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc)
构建了一个初步的看不见的
Dialog 与指定的所有者
Window 、标题、情态和
GraphicsConfiguration 。
|
Frame(GraphicsConfiguration gc)
构建一个新的隐形
Frame 最初与指定的
GraphicsConfiguration 。
|
Frame(String title, GraphicsConfiguration gc)
构建了一个新的开始,看不见的
Frame 对象和指定的标题和
GraphicsConfiguration 。
|
Window(Window owner, GraphicsConfiguration gc)
构建了一个新的,最初的隐形窗与指定的所有者
Window 和
GraphicsConfiguration 屏幕的装置。
|
Modifier and Type | Method and Description |
---|---|
abstract int |
VolatileImage.validate(GraphicsConfiguration gc)
试图恢复图像的绘制表面,如果表面已自去年
validate 呼叫丢失。
|
Modifier and Type | Method and Description |
---|---|
static PrintService |
ServiceUI.printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)
向用户提供一个对话框,用于选择打印服务(打印机)。
|
Constructor and Description |
---|
JDialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)
创建一个对话框指定标题的,业主
Dialog 、情态和
GraphicsConfiguration 。
|
JDialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
创建一个对话框指定标题的,业主
Frame 、情态和
GraphicsConfiguration 。
|
JDialog(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc)
创建一个对话框指定标题的,业主
Window 、情态和
GraphicsConfiguration 。
|
JFrame(GraphicsConfiguration gc)
创建指定的
GraphicsConfiguration 屏幕的装置和一个
Frame 空白标题。
|
JFrame(String title, GraphicsConfiguration gc)
创建一个具有指定名称和指定的
GraphicsConfiguration 屏幕的设备
JFrame 。
|
JWindow(GraphicsConfiguration gc)
创建一个具有指定
GraphicsConfiguration 屏幕的设备窗口。
|
JWindow(Window owner, GraphicsConfiguration gc)
创建一个具有指定所有者窗口和
GraphicsConfiguration 屏幕的设备窗口。
|
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.