- 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
のインスタンスを生成します
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 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
-
クラス 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
-
-
-
-
メソッドの詳細
-
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
- 戻り値:
- 無効なメニューのフォアグラウンド・カラー
-
-