|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
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」の外観のカスタマイズや、それを現在のテーマにする場合にのみ、このクラスを直接使用する必要があります。
MetalLookAndFeel.setCurrentTheme(javax.swing.plaf.metal.MetalTheme)| コンストラクタの概要 | |
|---|---|
OceanTheme()
OceanTheme のインスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
void |
addCustomEntriesToTable(UIDefaults table)
このテーマのカスタムエントリをデフォルトのテーブルに追加します。 |
protected ColorUIResource |
getBlack()
Metal Look & Feel で「Black」として使用するカラーを返します。 |
ColorUIResource |
getControlTextColor()
Metal Look & Feel で コントロールのデフォルトカラーとして使用するカラーを返します。 |
ColorUIResource |
getDesktopColor()
Metal Look & Feel で デスクトップバックグラウンドとして使用するカラーを返します。 |
ColorUIResource |
getInactiveControlTextColor()
Metal Look & Feel で アクティブでないコントロールのデフォルトカラーとして使用するカラーを返します。 |
ColorUIResource |
getMenuDisabledForeground()
Metal Look & Feel で、無効にされたメニュー項目の フォアグラウンドカラーとして使用するカラーを返します。 |
String |
getName()
このテーマ「Ocean」の名前を返します。 |
protected ColorUIResource |
getPrimary1()
Metal Look & Feel で「Primary 1」として使用するカラーを返します。 |
protected ColorUIResource |
getPrimary2()
Metal Look & Feel で「Primary 2」として使用するカラーを返します。 |
protected ColorUIResource |
getPrimary3()
Metal Look & Feel で「Primary 3」として使用するカラーを返します。 |
protected ColorUIResource |
getSecondary1()
Metal Look & Feel で「Secondary 1」として使用するカラーを返します。 |
protected ColorUIResource |
getSecondary2()
Metal Look & Feel で「Secondary 2」として使用するカラーを返します。 |
protected ColorUIResource |
getSecondary3()
Metal Look & Feel で「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 - パラメータが null の場合public String getName()
DefaultMetalTheme 内の getNameprotected ColorUIResource getPrimary1()
DefaultMetalTheme 内の getPrimary1protected ColorUIResource getPrimary2()
DefaultMetalTheme 内の getPrimary2protected ColorUIResource getPrimary3()
DefaultMetalTheme 内の getPrimary3protected ColorUIResource getSecondary1()
DefaultMetalTheme 内の getSecondary1protected ColorUIResource getSecondary2()
DefaultMetalTheme 内の getSecondary2protected ColorUIResource getSecondary3()
DefaultMetalTheme 内の getSecondary3protected ColorUIResource getBlack()
MetalTheme 内の getBlackpublic ColorUIResource getDesktopColor()
MetalTheme 内の getDesktopColorpublic ColorUIResource getInactiveControlTextColor()
MetalTheme 内の getInactiveControlTextColorpublic ColorUIResource getControlTextColor()
MetalTheme 内の getControlTextColorpublic ColorUIResource getMenuDisabledForeground()
MetalTheme 内の getMenuDisabledForeground
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。