JavaTM 2 Platform
Standard Ed. 5.0

クラス
java.awt.GraphicsConfiguration の使用

GraphicsConfiguration を使用しているパッケージ
java.awt ユーザインタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。 
java.awt.image イメージを作成および修正するためのクラスを提供します。 
javax.print JavaTM Print Service API の主要なクラスおよびインタフェースを提供します。 
javax.swing すべてのプラットフォームで可能なかぎり同じように機能する、「軽量」(Java 共通言語) コンポーネントのセットを提供します。 
 

java.awt での GraphicsConfiguration の使用
 

GraphicsConfiguration を返す java.awt のメソッド
 GraphicsConfiguration GraphicsDevice.getBestConfiguration(GraphicsConfigTemplate gct)
          GraphicsConfigTemplate で定義されている基準を渡すことのできる「最適な」構成を返します。
abstract  GraphicsConfiguration GraphicsConfigTemplate.getBestConfiguration(GraphicsConfiguration[] gc)
           GraphicsConfigTemplate で定義されている基準を渡すことのできる最適な構成を返します。
abstract  GraphicsConfiguration[] GraphicsDevice.getConfigurations()
          この GraphicsDevice に関連したすべての GraphicsConfiguration オブジェクトを返します。
abstract  GraphicsConfiguration GraphicsDevice.getDefaultConfiguration()
          この GraphicsDevice に関連したデフォルトの GraphicsConfiguration を返します。
abstract  GraphicsConfiguration Graphics2D.getDeviceConfiguration()
          この Graphics2D に関連したデバイス構成を返します。
 GraphicsConfiguration Component.getGraphicsConfiguration()
          この Component に関連付けられた GraphicsConfiguration を返します。
 GraphicsConfiguration Window.getGraphicsConfiguration()
          このメソッドは、この Window が使用する GraphicsConfiguration を返します。
 

GraphicsConfiguration 型のパラメータを持つ java.awt のメソッド
abstract  GraphicsConfiguration GraphicsConfigTemplate.getBestConfiguration(GraphicsConfiguration[] gc)
           GraphicsConfigTemplate で定義されている基準を渡すことのできる最適な構成を返します。
 ImageCapabilities Image.getCapabilities(GraphicsConfiguration gc)
          指定された GraphicsConfiguration のこのイメージの機能を照会できる ImageCapabilities オブジェクトを返します。
 Insets Toolkit.getScreenInsets(GraphicsConfiguration gc)
          スクリーンのインセットを返します。
abstract  boolean GraphicsConfigTemplate.isGraphicsConfigSupported(GraphicsConfiguration gc)
          指定された GraphicsConfiguration を使って、指定された機能をサポートする描画表面を作成できるかどうかを示す boolean 型の値を返します。
 

GraphicsConfiguration 型のパラメータを持つ java.awt のコンストラクタ
Canvas(GraphicsConfiguration config)
          GraphicsConfiguration オブジェクトを指定して、新しい Canvas を構築します。
Dialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)
          指定された所有者フレーム、タイトル、および GraphicsConfiguration を持ち、モーダルであるかどうかを指定された、最初は表示されない Dialog を構築します。
Dialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
          指定された所有者フレーム、タイトル、および GraphicsConfiguration を持ち、モーダルであるかどうかを指定された、最初は表示されない Dialog を構築します。
Frame(GraphicsConfiguration gc)
          スクリーンデバイスの指定した GraphicsConfiguration がある Frame を生成します。
Frame(String title, GraphicsConfiguration gc)
          指定されたタイトルと GraphicsConfiguration で、最初は不可視である新しい Frame オブジェクトを構築します。
Window(Window owner, GraphicsConfiguration gc)
          オーナとして指定されたウィンドウを持つ新しい不可視のウィンドウおよびスクリーンデバイスの GraphicsConfiguration を構築します。
 

java.awt.image での GraphicsConfiguration の使用
 

GraphicsConfiguration 型のパラメータを持つ java.awt.image のメソッド
 ImageCapabilities BufferedImage.getCapabilities(GraphicsConfiguration gc)
          このメソッドは Image.getCapabilities(gc) をオーバーライドし、その surfaceManager の機能を取得します。
abstract  int VolatileImage.validate(GraphicsConfiguration gc)
          最後の validate 呼び出し以降にイメージの描画表面が失われている場合、その描画表面を復元します。
 

javax.print での GraphicsConfiguration の使用
 

GraphicsConfiguration 型のパラメータを持つ javax.print のメソッド
static PrintService ServiceUI.printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)
          印刷サービス (プリンタ) 選択用ダイアログをユーザに提供します。
 

javax.swing での GraphicsConfiguration の使用
 

GraphicsConfiguration 型のパラメータを持つ javax.swing のコンストラクタ
JDialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)
          モーダルまたはモーダルでないダイアログを、指定されたタイトル、所有者 Dialog、および GraphicsConfiguration で生成します。
JDialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
          モーダルまたはモーダルでないダイアログを、指定されたタイトル、所有者 Frame、および GraphicsConfiguration で生成します。
JFrame(GraphicsConfiguration gc)
          Frame を、画面デバイスの指定された GraphicsConfiguration にタイトルなしで作成します。
JFrame(String title, GraphicsConfiguration gc)
          JFrame を、指定されたタイトルで、画面デバイスの指定された GraphicsConfiguration に作成します。
JWindow(GraphicsConfiguration gc)
          スクリーンデバイスの GraphicsConfiguration を指定してウィンドウを作成します。
JWindow(Window owner, GraphicsConfiguration gc)
          オーナウィンドウとスクリーンデバイスの GraphicsConfiguration を指定してウィンドウを作成します。
 


JavaTM 2 Platform
Standard Ed. 5.0

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java 2 SDK SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。