java.lang.Object
javax.swing.plaf.metal.MetalTheme
javax.swing.plaf.metal.DefaultMetalTheme
javax.swing.plaf.metal.OceanTheme
public class OceanTheme extends DefaultMetalTheme
MetalLookAndFeelのデフォルトのテーマ。
Metal Look & Feelの設計者は、今後も新しいテーマを使用して、デフォルトの外観を最新に維持するよう努めます。 そのため、開発者は、将来の更新に関係なく、「Ocean」の外観のカスタマイズや、それを現在のテーマにする場合にのみ、このクラスを直接使用する必要があります。
OceanThemeによって返されるすべての色は完全に不透明です。
- 導入されたバージョン:
- 1.5
- 関連項目:
MetalLookAndFeel.setCurrentTheme(javax.swing.plaf.metal.MetalTheme)
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 OceanTheme()OceanThemeのインスタンスを生成します -
メソッドのサマリー
修飾子と型 メソッド 説明 voidaddCustomEntriesToTable(UIDefaults table)このテーマのカスタム・エントリをデフォルトのテーブルに追加します。protected ColorUIResourcegetBlack()黒を返します。ColorUIResourcegetControlTextColor()コントロール・テキスト・カラーを返します。ColorUIResourcegetDesktopColor()デスクトップ・カラーを返します。ColorUIResourcegetInactiveControlTextColor()アクティブでないコントロール・テキスト・カラーを返します。ColorUIResourcegetMenuDisabledForeground()無効なメニューのフォアグラウンド・カラーを返します。StringgetName()このテーマ「Ocean」の名前を返します。protected ColorUIResourcegetPrimary1()Primary 1カラーを返します。protected ColorUIResourcegetPrimary2()Primary 2カラーを返します。protected ColorUIResourcegetPrimary3()Primary 3カラーを返します。protected ColorUIResourcegetSecondary1()Secondary 1カラーを返します。protected ColorUIResourcegetSecondary2()Secondary 2カラーを返します。protected ColorUIResourcegetSecondary3()Secondary 3カラーを返します。クラス javax.swing.plaf.metal.DefaultMetalThemeで宣言されたメソッド
getControlTextFont, getMenuTextFont, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFontクラス javax.swing.plaf.metal.MetalThemeで宣言されたメソッド
getAcceleratorForeground, getAcceleratorSelectedForeground, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getFocusColor, getHighlightedTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSystemTextColor, getTextHighlightColor, getUserTextColor, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
-
コンストラクタの詳細
-
OceanTheme
public OceanTheme()OceanThemeのインスタンスを生成します
-
-
メソッドの詳細
-
addCustomEntriesToTable
public void addCustomEntriesToTable(UIDefaults table)このテーマのカスタム・エントリをデフォルトのテーブルに追加します。- オーバーライド:
addCustomEntriesToTable、クラス:MetalTheme- パラメータ:
table- デフォルトのテーブル(nullは不可)- 例外:
NullPointerException-tableがnullである場合- 関連項目:
MetalLookAndFeel.getDefaults()
-
getName
public String getName()このテーマ「Ocean」の名前を返します。- オーバーライド:
getName、クラス:DefaultMetalTheme- 戻り値:
- 「Ocean」
-
getPrimary1
protected ColorUIResource getPrimary1()Primary 1カラーを返します。 これは、16進のRGB値0x6382BFで表される色を返します。- オーバーライド:
getPrimary1、クラス:DefaultMetalTheme- 戻り値:
- Primary 1カラー
- 関連項目:
Color.decode(java.lang.String)
-
getPrimary2
protected ColorUIResource getPrimary2()Primary 2カラーを返します。 これは、16進のRGB値0xA3B8CCで表される色を返します。- オーバーライド:
getPrimary2、クラス:DefaultMetalTheme- 戻り値:
- Primary 2カラー
- 関連項目:
Color.decode(java.lang.String)
-
getPrimary3
protected ColorUIResource getPrimary3()Primary 3カラーを返します。 これは、16進のRGB値0xB8CFE5で表される色を返します。- オーバーライド:
getPrimary3、クラス:DefaultMetalTheme- 戻り値:
- Primary 3カラー
- 関連項目:
Color.decode(java.lang.String)
-
getSecondary1
protected ColorUIResource getSecondary1()Secondary 1カラーを返します。 これは、16進のRGB値0x7A8A99で表される色を返します。- オーバーライド:
getSecondary1、クラス:DefaultMetalTheme- 戻り値:
- Secondary 1カラー
- 関連項目:
Color.decode(java.lang.String)
-
getSecondary2
protected ColorUIResource getSecondary2()Secondary 2カラーを返します。 これは、16進のRGB値0xB8CFE5で表される色を返します。- オーバーライド:
getSecondary2、クラス:DefaultMetalTheme- 戻り値:
- Secondary 2カラー
- 関連項目:
Color.decode(java.lang.String)
-
getSecondary3
protected ColorUIResource getSecondary3()Secondary 3カラーを返します。 これは、16進のRGB値0xEEEEEEで表される色を返します。- オーバーライド:
getSecondary3、クラス:DefaultMetalTheme- 戻り値:
- Secondary 3カラー
- 関連項目:
Color.decode(java.lang.String)
-
getBlack
protected ColorUIResource getBlack()黒を返します。 これは、16進のRGB値0x333333で表される色を返します。- オーバーライド:
getBlack、クラス:MetalTheme- 戻り値:
- 黒
- 関連項目:
Color.decode(java.lang.String)
-
getDesktopColor
public ColorUIResource getDesktopColor()デスクトップ・カラーを返します。 これは、16進のRGB値0xFFFFFFで表される色を返します。- オーバーライド:
getDesktopColor、クラス:MetalTheme- 戻り値:
- デスクトップ・カラー
- 関連項目:
Color.decode(java.lang.String)
-
getInactiveControlTextColor
public ColorUIResource getInactiveControlTextColor()アクティブでないコントロール・テキスト・カラーを返します。 これは、16進のRGB値0x999999で表される色を返します。- オーバーライド:
getInactiveControlTextColor、クラス:MetalTheme- 戻り値:
- アクティブでないコントロール・テキスト・カラー
-
getControlTextColor
public ColorUIResource getControlTextColor()コントロール・テキスト・カラーを返します。 これは、16進のRGB値0x333333で表される色を返します。- オーバーライド:
getControlTextColor、クラス:MetalTheme- 戻り値:
- コントロール・テキスト・カラー
-
getMenuDisabledForeground
public ColorUIResource getMenuDisabledForeground()無効なメニューのフォアグラウンド・カラーを返します。 これは、16進のRGB値0x999999で表される色を返します。- オーバーライド:
getMenuDisabledForeground、クラス:MetalTheme- 戻り値:
- 無効なメニューのフォアグラウンド・カラー
-