JavaTM Platform
Standard Ed. 6

クラス
javax.swing.plaf.synth.ColorType の使用

ColorType を使用しているパッケージ
javax.swing.plaf.synth Synth は、すべてのペイントが委譲されるスキン設定可能な Look & Feel です。 
 

javax.swing.plaf.synth での ColorType の使用
 

ColorType として宣言されている javax.swing.plaf.synth のフィールド
static ColorType ColorType.BACKGROUND
          領域のバックグラウンド用の ColorType です。
static ColorType ColorType.FOCUS
          フォーカス用の ColorType です。
static ColorType ColorType.FOREGROUND
          領域のフォアグラウンド用の ColorType です。
static ColorType ColorType.TEXT_BACKGROUND
          領域のバックグラウンド用の ColorType です。
static ColorType ColorType.TEXT_FOREGROUND
          領域のフォアグラウンド用の ColorType です。
 

ColorType 型のパラメータを持つ javax.swing.plaf.synth のメソッド
 Color SynthStyle.getColor(SynthContext context, ColorType type)
          指定された状態の色を返します。
protected abstract  Color SynthStyle.getColorForState(SynthContext context, ColorType type)
          指定された状態の色を返します。
 


JavaTM Platform
Standard Ed. 6

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

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