JavaTM Platform
Standard Ed. 6

クラス
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)
          有効な GraphicsConfiguration を取得するために使用される 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 Window.getGraphicsConfiguration()
          このメソッドは、この Window が使用する GraphicsConfiguration を返します。
 GraphicsConfiguration Component.getGraphicsConfiguration()
          この Component に関連付けられた 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)
          指定された所有者 Dialog、タイトル、モーダリティー、および GraphicsConfiguration を持ち、最初は表示されない Dialog を構築します。
Dialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
          指定された所有者 Frame、タイトル、モーダリティー、および GraphicsConfiguration を持ち、最初は表示されない Dialog を構築します。
Dialog(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc)
          指定された所有者 Window、タイトル、モーダリティー、および GraphicsConfiguration を持ち、最初は表示されない Dialog を構築します。
Frame(GraphicsConfiguration gc)
          指定された GraphicsConfiguration で、初期状態で可視ではない新しい Frame を構築します。
Frame(String title, GraphicsConfiguration gc)
          指定されたタイトルと GraphicsConfiguration で、最初は不可視である新しい Frame オブジェクトを構築します。
Window(Window owner, GraphicsConfiguration gc)
          指定されたオーナー Window を持つ初期状態で可視でない新しいウィンドウと、スクリーンデバイスの GraphicsConfiguration を構築します。
 

java.awt.image での GraphicsConfiguration の使用
 

GraphicsConfiguration 型のパラメータを持つ java.awt.image のメソッド
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 を指定してダイアログを作成します。
JDialog(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc)
          タイトル、所有者 Window、モーダルであるかどうか、および GraphicsConfiguration を指定してダイアログを作成します。
JFrame(GraphicsConfiguration gc)
          Frame を、画面デバイスの指定された GraphicsConfiguration にタイトルなしで作成します。
JFrame(String title, GraphicsConfiguration gc)
          JFrame を、指定されたタイトルで、画面デバイスの指定された GraphicsConfiguration に作成します。
JWindow(GraphicsConfiguration gc)
          ウィンドウを、画面デバイスの指定された GraphicsConfiguration にタイトルなしで作成します。
JWindow(Window owner, GraphicsConfiguration gc)
          オーナウィンドウとスクリーンデバイスの GraphicsConfiguration を指定してウィンドウを作成します。
 


JavaTM Platform
Standard Ed. 6

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

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