|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.swing.plaf.metal.MetalTheme
javax.swing.plaf.metal.DefaultMetalTheme
javax.swing.plaf.metal.OceanTheme
public class OceanTheme
MetalLookAndFeel のデフォルトのテーマです。
Metal Look & Feel の設計者は、今後も新しいテーマを使用して、デフォルトの外観を最新に維持するよう努めます。そのため、開発者は、将来の更新に関係なく、「Ocean」の外観のカスタマイズや、それを現在のテーマにする場合にのみ、このクラスを直接使用する必要があります。
OceanTheme から返される色はすべて完全に不透明です。
MetalLookAndFeel.setCurrentTheme(javax.swing.plaf.metal.MetalTheme)| コンストラクタの概要 | |
|---|---|
OceanTheme()
OceanTheme のインスタンスを作成します。 |
|
| メソッドの概要 | |
|---|---|
void |
addCustomEntriesToTable(UIDefaults table)
このテーマのカスタムエントリをデフォルトのテーブルに追加します。 |
protected ColorUIResource |
getBlack()
黒を返します。 |
ColorUIResource |
getControlTextColor()
コントロールテキストカラーを返します。 |
ColorUIResource |
getDesktopColor()
デスクトップカラーを返します。 |
ColorUIResource |
getInactiveControlTextColor()
アクティブでないコントロールテキストカラーを返します。 |
ColorUIResource |
getMenuDisabledForeground()
無効なメニューのフォアグラウンドカラーを返します。 |
String |
getName()
このテーマ「Ocean」の名前を返します。 |
protected ColorUIResource |
getPrimary1()
Primary 1 カラーを返します。 |
protected ColorUIResource |
getPrimary2()
Primary 2 カラーを返します。 |
protected ColorUIResource |
getPrimary3()
Primary 3 カラーを返します。 |
protected ColorUIResource |
getSecondary1()
Secondary 1 カラーを返します。 |
protected ColorUIResource |
getSecondary2()
Secondary 2 カラーを返します。 |
protected ColorUIResource |
getSecondary3()
Secondary 3 カラーを返します。 |
| クラス javax.swing.plaf.metal.DefaultMetalTheme から継承されたメソッド |
|---|
getControlTextFont, getMenuTextFont, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFont |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public OceanTheme()
OceanTheme のインスタンスを作成します。
| メソッドの詳細 |
|---|
public void addCustomEntriesToTable(UIDefaults table)
MetalTheme 内の addCustomEntriesToTabletable - デフォルトのテーブル。 null は不可
NullPointerException - table が null の場合MetalLookAndFeel.getDefaults()public String getName()
DefaultMetalTheme 内の getNameprotected ColorUIResource getPrimary1()
0x6382BF で表される色を返します。
DefaultMetalTheme 内の getPrimary1Color.decode(java.lang.String)protected ColorUIResource getPrimary2()
0xA3B8CC で表される色を返します。
DefaultMetalTheme 内の getPrimary2Color.decode(java.lang.String)protected ColorUIResource getPrimary3()
0xB8CFE5 で表される色を返します。
DefaultMetalTheme 内の getPrimary3Color.decode(java.lang.String)protected ColorUIResource getSecondary1()
0x7A8A99 で表される色を返します。
DefaultMetalTheme 内の getSecondary1Color.decode(java.lang.String)protected ColorUIResource getSecondary2()
0xB8CFE5 で表される色を返します。
DefaultMetalTheme 内の getSecondary2Color.decode(java.lang.String)protected ColorUIResource getSecondary3()
0xEEEEEE で表される色を返します。
DefaultMetalTheme 内の getSecondary3Color.decode(java.lang.String)protected ColorUIResource getBlack()
0x333333 で表される色を返します。
MetalTheme 内の getBlackColor.decode(java.lang.String)public ColorUIResource getDesktopColor()
0xFFFFFF で表される色を返します。
MetalTheme 内の getDesktopColorColor.decode(java.lang.String)public ColorUIResource getInactiveControlTextColor()
0x999999 で表される色を返します。
MetalTheme 内の getInactiveControlTextColorpublic ColorUIResource getControlTextColor()
0x333333 で表される色を返します。
MetalTheme 内の getControlTextColorpublic ColorUIResource getMenuDisabledForeground()
0x999999 で表される色を返します。
MetalTheme 内の getMenuDisabledForeground
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。