- 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
 
- 
 
- 
- 
- 
メソッドの詳細- 
addCustomEntriesToTablepublic void addCustomEntriesToTable(UIDefaults table) このテーマのカスタム・エントリをデフォルトのテーブルに追加します。- オーバーライド:
- addCustomEntriesToTable、クラス:- MetalTheme
- パラメータ:
- table- デフォルトのテーブル(nullは不可)
- 例外:
- NullPointerException-- tableが- nullである場合
- 関連項目:
- MetalLookAndFeel.getDefaults()
 
 - 
getNamepublic String getName() このテーマ「Ocean」の名前を返します。- オーバーライド:
- getName、クラス:- DefaultMetalTheme
- 戻り値:
- 「Ocean」
 
 - 
getPrimary1protected ColorUIResource getPrimary1() Primary 1カラーを返します。 これは、16進のRGB値0x6382BFで表される色を返します。- オーバーライド:
- getPrimary1、クラス:- DefaultMetalTheme
- 戻り値:
- Primary 1カラー
- 関連項目:
- Color.decode(java.lang.String)
 
 - 
getPrimary2protected ColorUIResource getPrimary2() Primary 2カラーを返します。 これは、16進のRGB値0xA3B8CCで表される色を返します。- オーバーライド:
- getPrimary2、クラス:- DefaultMetalTheme
- 戻り値:
- Primary 2カラー
- 関連項目:
- Color.decode(java.lang.String)
 
 - 
getPrimary3protected ColorUIResource getPrimary3() Primary 3カラーを返します。 これは、16進のRGB値0xB8CFE5で表される色を返します。- オーバーライド:
- getPrimary3、クラス:- DefaultMetalTheme
- 戻り値:
- Primary 3カラー
- 関連項目:
- Color.decode(java.lang.String)
 
 - 
getSecondary1protected ColorUIResource getSecondary1() Secondary 1カラーを返します。 これは、16進のRGB値0x7A8A99で表される色を返します。- オーバーライド:
- getSecondary1、クラス:- DefaultMetalTheme
- 戻り値:
- Secondary 1カラー
- 関連項目:
- Color.decode(java.lang.String)
 
 - 
getSecondary2protected ColorUIResource getSecondary2() Secondary 2カラーを返します。 これは、16進のRGB値0xB8CFE5で表される色を返します。- オーバーライド:
- getSecondary2、クラス:- DefaultMetalTheme
- 戻り値:
- Secondary 2カラー
- 関連項目:
- Color.decode(java.lang.String)
 
 - 
getSecondary3protected ColorUIResource getSecondary3() Secondary 3カラーを返します。 これは、16進のRGB値0xEEEEEEで表される色を返します。- オーバーライド:
- getSecondary3、クラス:- DefaultMetalTheme
- 戻り値:
- Secondary 3カラー
- 関連項目:
- Color.decode(java.lang.String)
 
 - 
getBlackprotected ColorUIResource getBlack() 黒を返します。 これは、16進のRGB値0x333333で表される色を返します。- オーバーライド:
- getBlack、クラス:- MetalTheme
- 戻り値:
- 黒
- 関連項目:
- Color.decode(java.lang.String)
 
 - 
getDesktopColorpublic ColorUIResource getDesktopColor() デスクトップ・カラーを返します。 これは、16進のRGB値0xFFFFFFで表される色を返します。- オーバーライド:
- getDesktopColor、クラス:- MetalTheme
- 戻り値:
- デスクトップ・カラー
- 関連項目:
- Color.decode(java.lang.String)
 
 - 
getInactiveControlTextColorpublic ColorUIResource getInactiveControlTextColor() アクティブでないコントロール・テキスト・カラーを返します。 これは、16進のRGB値0x999999で表される色を返します。- オーバーライド:
- getInactiveControlTextColor、クラス:- MetalTheme
- 戻り値:
- アクティブでないコントロール・テキスト・カラー
 
 - 
getControlTextColorpublic ColorUIResource getControlTextColor() コントロール・テキスト・カラーを返します。 これは、16進のRGB値0x333333で表される色を返します。- オーバーライド:
- getControlTextColor、クラス:- MetalTheme
- 戻り値:
- コントロール・テキスト・カラー
 
 - 
getMenuDisabledForegroundpublic ColorUIResource getMenuDisabledForeground() 無効なメニューのフォアグラウンド・カラーを返します。 これは、16進のRGB値0x999999で表される色を返します。- オーバーライド:
- getMenuDisabledForeground、クラス:- MetalTheme
- 戻り値:
- 無効なメニューのフォアグラウンド・カラー
 
 
- 
 
-