JavaTM 2 Platform
Std. Ed. v1.3

クラス
java.awt.GraphicsConfiguration の使用

GraphicsConfiguration を使用しているパッケージ
java.awt このパッケージには、ユーザインタフェースの作成と、グラフィックスとイメージのペイントのためのクラスがすべて含まれています。 
javax.swing すべてのプラットフォームで可能な限り同じように機能する、「軽量」(Java 共通言語) コンポーネントのセットを提供します。 
 

java.awt での GraphicsConfiguration の使用
 

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

GraphicsConfiguration 型のパラメータを持つ java.awt のメソッド
abstract  GraphicsConfiguration GraphicsConfigTemplate.getBestConfiguration(GraphicsConfiguration[] gc)
           GraphicsConfigTemplate で定義されている基準を渡すことのできる最適な構成を返します。
abstract  boolean GraphicsConfigTemplate.isGraphicsConfigSupported(GraphicsConfiguration gc)
          指定された GraphicsConfiguration を使って、指定された機能をサポートする描画表面を作成できるかどうかを示す boolean 型の値を返します。
 

GraphicsConfiguration 型のパラメータを持つ java.awt のコンストラクタ
Canvas(GraphicsConfiguration config)
          GraphicsConfiguration オブジェクトを指定して、新しい Canvas を構築します。
Window(Window owner, GraphicsConfiguration gc)
          指定されたウィンドウをオーナとして、新しい不可視のウィンドウとスクリーンデバイスの GraphicsConfiguration を構築します。
Frame(GraphicsConfiguration gc)
          スクリーンデバイスの指定した GraphicsConfiguration がある Frame を作成します。
Frame(String title, GraphicsConfiguration gc)
          指定されたタイトルと GraphicsConfiguration で、最初は不可視である新しい Frame オブジェクトを構築します。
 

javax.swing での GraphicsConfiguration の使用
 

GraphicsConfiguration 型のパラメータを持つ javax.swing のコンストラクタ
JWindow(GraphicsConfiguration gc)
          ウィンドウを、画面デバイスの指定された GraphicsConfiguration にタイトルなしで作成します。
JWindow(Window owner, GraphicsConfiguration gc)
           
JFrame(GraphicsConfiguration gc)
          Frame を、画面デバイスの指定された GraphicsConfiguration にタイトルなしで作成します。
JFrame(String title, GraphicsConfiguration gc)
          Frame を、指定されたタイトルで、画面デバイスの指定された GraphicsConfiguration に作成します。
 


JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.