java.lang.Object
java.awt.Color
java.awt.SystemColor
- すべての実装されたインタフェース:
Paint,Transparency,Serializable
public final class SystemColor extends Color implements Serializable
システムのネイティブなGUIオブジェクトの色を表すシンボリック・カラーをカプセル化するクラスです。 システム・カラーの動的な更新をサポートする(ユーザーがカラーを変更したとき)システムでは、これらシンボリック・カラーの実際のRGB値も動的に変化します。
SystemColorオブジェクトの「現在の」RGB値を非シンボリックColorオブジェクトと比較するにはequalsではなくgetRGBを使用します。
GUIオブジェクトは各プラットフォームで異なって描画されるため、これらのシステム・カラーがGUIオブジェクトに適用される方法はプラットフォームごとに少しずつ異なることに注意してください。
システム・カラーの値はjava.awt.ToolkitのgetDesktopPropertyメソッドでも使用可能です。
- 関連項目:
-
フィールドのサマリー
フィールド修飾子と型フィールド説明static final intactiveCaptionシステム・カラーの配列インデックス。static final intactiveCaptionBorderシステム・カラーの配列インデックス。static final intactiveCaptionTextシステム・カラーの配列インデックス。static final SystemColor現在アクティブなウィンドウのウィンドウ・タイトルのバックグラウンドでレンダリングされるカラーです。static final SystemColor現在アクティブなウィンドウのボーダーでレンダリングされるカラーです。static final SystemColor現在アクティブなウィンドウのウィンドウ・タイトルのテキストでレンダリングされるカラーです。static final SystemColorプッシュ・ボタンなど、コントロール・パネルやコントロール・オブジェクトのバックグラウンドでレンダリングされるカラーです。static final intcontrolシステム・カラーの配列インデックス。static final intcontrolDkShadowシステム・カラーの配列インデックス。static final intcontrolHighlightシステム・カラーの配列インデックス。static final intcontrolLtHighlightシステム・カラーの配列インデックス。static final intcontrolShadowシステム・カラーの配列インデックス。static final intcontrolTextシステム・カラーの配列インデックス。static final SystemColorプッシュ・ボタンなど、3Dコントロール・オブジェクトの暗く影の付いた領域でレンダリングされるカラーです。static final SystemColorプッシュ・ボタンなど、3Dコントロール・オブジェクトの明るく輝いた領域でレンダリングされるカラーです。static final SystemColorプッシュ・ボタンなど、3Dコントロール・オブジェクトの強調表示領域でレンダリングされるカラーです。static final SystemColorプッシュ・ボタンなど、3Dコントロール・オブジェクトの影の付いた領域でレンダリングされるカラーです。static final SystemColorプッシュ・ボタンなど、コントロール・パネルやコントロール・オブジェクトのテキストでレンダリングされるカラーです。static final SystemColorデスクトップのバックグラウンドでレンダリングされるカラーです。static final intdesktopシステム・カラーの配列インデックス。static final intinactiveCaptionシステム・カラーの配列インデックス。static final intinactiveCaptionBorderシステム・カラーの配列インデックス。static final intinactiveCaptionTextシステム・カラーの配列インデックス。static final SystemColor現在アクティブでないウィンドウのウィンドウ・タイトルのバックグラウンドでレンダリングされるカラーです。static final SystemColor現在アクティブでないウィンドウのボーダーでレンダリングされるカラーです。static final SystemColor現在アクティブでないウィンドウのウィンドウ・タイトルのテキストでレンダリングされるカラーです。static final SystemColorツール・チップまたはスポット・ヘルプのバックグラウンドでレンダリングされるカラーです。static final intinfoシステム・カラーの配列インデックス。static final intinfoTextシステム・カラーの配列インデックス。static final SystemColorツール・チップまたはスポット・ヘルプのテキストでレンダリングされるカラーです。static final SystemColorメニューのバックグラウンドでレンダリングされるカラーです。static final intmenuシステム・カラーの配列インデックス。static final intmenuTextシステム・カラーの配列インデックス。static final SystemColorメニューのテキストでレンダリングされるカラーです。static final int配列内のシステム・カラーの数です。static final SystemColorスクロール・バーのバックグラウンドでレンダリングされるカラーです。static final intscrollbarシステム・カラーの配列インデックス。static final SystemColorテキスト・フィールドやコンボボックスなど、テキスト・コントロール・オブジェクトのバックグラウンドでレンダリングされるカラーです。static final inttextシステム・カラーの配列インデックス。static final inttextHighlightシステム・カラーの配列インデックス。static final inttextHighlightTextシステム・カラーの配列インデックス。static final inttextInactiveTextシステム・カラーの配列インデックス。static final inttextTextシステム・カラーの配列インデックス。static final SystemColorメニュー、コンボボックス、テキストなど、選択した項目のバックグラウンドでレンダリングされるカラーです。static final SystemColorメニュー、コンボボックス、テキストなど、選択した項目のテキスト・バックグラウンドでレンダリングされるカラーです。static final SystemColorメニューなど、アクティブでない項目のテキストでレンダリングされるカラーです。static final SystemColorテキスト・フィールドやコンボボックスなど、テキスト・コントロール・オブジェクトのテキストでレンダリングされるカラーです。static final SystemColorウィンドウ内の内側の領域のバックグラウンドでレンダリングされるカラーです。static final intwindowシステム・カラーの配列インデックス。static final intwindowBorderシステム・カラーの配列インデックス。static final intwindowTextシステム・カラーの配列インデックス。static final SystemColorウィンドウ内の内側の領域のボーダーでレンダリングされるカラーです。static final SystemColorウィンドウ内の内側の領域のテキストでレンダリングされるカラーです。クラスjava.awt.Colorで宣言されたフィールド
black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOWインタフェースjava.awt.Transparencyで宣言されているフィールド
BITMASK, OPAQUE, TRANSLUCENT -
メソッドのサマリー
クラスjava.awt.Colorで宣言されたメソッド
brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB
-
フィールド詳細
-
DESKTOP
@Native public static final int DESKTOPdesktopシステム・カラーの配列インデックス。- 関連項目:
-
ACTIVE_CAPTION
@Native public static final int ACTIVE_CAPTIONactiveCaptionシステム・カラーの配列インデックス。- 関連項目:
-
ACTIVE_CAPTION_TEXT
@Native public static final int ACTIVE_CAPTION_TEXTactiveCaptionTextシステム・カラーの配列インデックス。- 関連項目:
-
ACTIVE_CAPTION_BORDER
@Native public static final int ACTIVE_CAPTION_BORDERactiveCaptionBorderシステム・カラーの配列インデックス。- 関連項目:
-
INACTIVE_CAPTION
@Native public static final int INACTIVE_CAPTIONinactiveCaptionシステム・カラーの配列インデックス。- 関連項目:
-
INACTIVE_CAPTION_TEXT
@Native public static final int INACTIVE_CAPTION_TEXTinactiveCaptionTextシステム・カラーの配列インデックス。- 関連項目:
-
INACTIVE_CAPTION_BORDER
@Native public static final int INACTIVE_CAPTION_BORDERinactiveCaptionBorderシステム・カラーの配列インデックス。- 関連項目:
-
WINDOW
@Native public static final int WINDOWwindowシステム・カラーの配列インデックス。- 関連項目:
-
WINDOW_BORDER
@Native public static final int WINDOW_BORDERwindowBorderシステム・カラーの配列インデックス。- 関連項目:
-
WINDOW_TEXT
@Native public static final int WINDOW_TEXTwindowTextシステム・カラーの配列インデックス。- 関連項目:
-
MENU
@Native public static final int MENUmenuシステム・カラーの配列インデックス。- 関連項目:
-
MENU_TEXT
@Native public static final int MENU_TEXTmenuTextシステム・カラーの配列インデックス。- 関連項目:
-
TEXT
@Native public static final int TEXTtextシステム・カラーの配列インデックス。- 関連項目:
-
TEXT_TEXT
@Native public static final int TEXT_TEXTtextTextシステム・カラーの配列インデックス。- 関連項目:
-
TEXT_HIGHLIGHT
@Native public static final int TEXT_HIGHLIGHTtextHighlightシステム・カラーの配列インデックス。- 関連項目:
-
TEXT_HIGHLIGHT_TEXT
@Native public static final int TEXT_HIGHLIGHT_TEXTtextHighlightTextシステム・カラーの配列インデックス。- 関連項目:
-
TEXT_INACTIVE_TEXT
@Native public static final int TEXT_INACTIVE_TEXTtextInactiveTextシステム・カラーの配列インデックス。- 関連項目:
-
CONTROL
@Native public static final int CONTROLcontrolシステム・カラーの配列インデックス。- 関連項目:
-
CONTROL_TEXT
@Native public static final int CONTROL_TEXTcontrolTextシステム・カラーの配列インデックス。- 関連項目:
-
CONTROL_HIGHLIGHT
@Native public static final int CONTROL_HIGHLIGHTcontrolHighlightシステム・カラーの配列インデックス。- 関連項目:
-
CONTROL_LT_HIGHLIGHT
@Native public static final int CONTROL_LT_HIGHLIGHTcontrolLtHighlightシステム・カラーの配列インデックス。- 関連項目:
-
CONTROL_SHADOW
@Native public static final int CONTROL_SHADOWcontrolShadowシステム・カラーの配列インデックス。- 関連項目:
-
CONTROL_DK_SHADOW
@Native public static final int CONTROL_DK_SHADOWcontrolDkShadowシステム・カラーの配列インデックス。- 関連項目:
-
SCROLLBAR
@Native public static final int SCROLLBARscrollbarシステム・カラーの配列インデックス。- 関連項目:
-
INFO
@Native public static final int INFOinfoシステム・カラーの配列インデックス。- 関連項目:
-
INFO_TEXT
@Native public static final int INFO_TEXTinfoTextシステム・カラーの配列インデックス。- 関連項目:
-
NUM_COLORS
@Native public static final int NUM_COLORS配列内のシステム・カラーの数です。- 関連項目:
-
desktop
public static final SystemColor desktopデスクトップのバックグラウンドでレンダリングされるカラーです。 -
activeCaption
public static final SystemColor activeCaption現在アクティブなウィンドウのウィンドウ・タイトルのバックグラウンドでレンダリングされるカラーです。 -
activeCaptionText
public static final SystemColor activeCaptionText現在アクティブなウィンドウのウィンドウ・タイトルのテキストでレンダリングされるカラーです。 -
activeCaptionBorder
public static final SystemColor activeCaptionBorder現在アクティブなウィンドウのボーダーでレンダリングされるカラーです。 -
inactiveCaption
public static final SystemColor inactiveCaption現在アクティブでないウィンドウのウィンドウ・タイトルのバックグラウンドでレンダリングされるカラーです。 -
inactiveCaptionText
public static final SystemColor inactiveCaptionText現在アクティブでないウィンドウのウィンドウ・タイトルのテキストでレンダリングされるカラーです。 -
inactiveCaptionBorder
public static final SystemColor inactiveCaptionBorder現在アクティブでないウィンドウのボーダーでレンダリングされるカラーです。 -
window
public static final SystemColor windowウィンドウ内の内側の領域のバックグラウンドでレンダリングされるカラーです。 -
windowBorder
public static final SystemColor windowBorderウィンドウ内の内側の領域のボーダーでレンダリングされるカラーです。 -
windowText
public static final SystemColor windowTextウィンドウ内の内側の領域のテキストでレンダリングされるカラーです。 -
text
public static final SystemColor textテキスト・フィールドやコンボボックスなど、テキスト・コントロール・オブジェクトのバックグラウンドでレンダリングされるカラーです。 -
textText
public static final SystemColor textTextテキスト・フィールドやコンボボックスなど、テキスト・コントロール・オブジェクトのテキストでレンダリングされるカラーです。 -
textHighlight
public static final SystemColor textHighlightメニュー、コンボボックス、テキストなど、選択した項目のバックグラウンドでレンダリングされるカラーです。 -
textHighlightText
public static final SystemColor textHighlightTextメニュー、コンボボックス、テキストなど、選択した項目のテキスト・バックグラウンドでレンダリングされるカラーです。 -
textInactiveText
public static final SystemColor textInactiveTextメニューなど、アクティブでない項目のテキストでレンダリングされるカラーです。 -
control
public static final SystemColor controlプッシュ・ボタンなど、コントロール・パネルやコントロール・オブジェクトのバックグラウンドでレンダリングされるカラーです。 -
controlText
public static final SystemColor controlTextプッシュ・ボタンなど、コントロール・パネルやコントロール・オブジェクトのテキストでレンダリングされるカラーです。 -
controlHighlight
public static final SystemColor controlHighlightプッシュ・ボタンなど、3Dコントロール・オブジェクトの明るく輝いた領域でレンダリングされるカラーです。 この色は通常、3D効果を提供するためにcontrol背景色から派生します。 -
controlLtHighlight
public static final SystemColor controlLtHighlightプッシュ・ボタンなど、3Dコントロール・オブジェクトの強調表示領域でレンダリングされるカラーです。 この色は通常、3D効果を提供するためにcontrol背景色から派生します。 -
controlShadow
public static final SystemColor controlShadowプッシュ・ボタンなど、3Dコントロール・オブジェクトの影の付いた領域でレンダリングされるカラーです。 この色は通常、3D効果を提供するためにcontrol背景色から派生します。 -
controlDkShadow
public static final SystemColor controlDkShadowプッシュ・ボタンなど、3Dコントロール・オブジェクトの暗く影の付いた領域でレンダリングされるカラーです。 この色は通常、3D効果を提供するためにcontrol背景色から派生します。 -
scrollbar
public static final SystemColor scrollbarスクロール・バーのバックグラウンドでレンダリングされるカラーです。 -
info
public static final SystemColor infoツール・チップまたはスポット・ヘルプのバックグラウンドでレンダリングされるカラーです。 -
infoText
public static final SystemColor infoTextツール・チップまたはスポット・ヘルプのテキストでレンダリングされるカラーです。
-
-
メソッドの詳細