JavaTM Platform
Standard Ed. 6

javax.swing.plaf.metal
클래스 OceanTheme

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 ()
          무효인 메뉴의 foreground 칼라를 돌려줍니다.
 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
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

OceanTheme

public OceanTheme()
OceanTheme 의 인스턴스를 작성합니다.

메소드의 상세

addCustomEntriesToTable

public void addCustomEntriesToTable(UIDefaults  table)
이 테마의 커스텀 엔트리를 디폴트의 테이블에 추가합니다.

오버라이드(override):
클래스 MetalTheme 내의 addCustomEntriesToTable
파라미터:
table - 디폴트의 테이블. null 는 불가
예외:
NullPointerException - tablenull 의 경우
관련 항목:
MetalLookAndFeel.getDefaults()

getName

public String  getName()
이 테마 「Ocean」의 이름을 돌려줍니다.

오버라이드(override):
클래스 DefaultMetalTheme 내의 getName
반환값:
「Ocean」

getPrimary1

protected ColorUIResource  getPrimary1()
Primary 1 칼라를 돌려줍니다. 이것은, 16 진의 RGB 치 0x6382BF 로 나타내지는 색을 돌려줍니다.

오버라이드(override):
클래스 DefaultMetalTheme 내의 getPrimary1
반환값:
Primary 1 칼라
관련 항목:
Color.decode(java.lang.String)

getPrimary2

protected ColorUIResource  getPrimary2()
Primary 2 칼라를 돌려줍니다. 이것은, 16 진의 RGB 치 0xA3B8CC 로 나타내지는 색을 돌려줍니다.

오버라이드(override):
클래스 DefaultMetalTheme 내의 getPrimary2
반환값:
Primary 2 칼라
관련 항목:
Color.decode(java.lang.String)

getPrimary3

protected ColorUIResource  getPrimary3()
Primary 3 칼라를 돌려줍니다. 이것은, 16 진의 RGB 치 0xB8CFE5 로 나타내지는 색을 돌려줍니다.

오버라이드(override):
클래스 DefaultMetalTheme 내의 getPrimary3
반환값:
Primary 3 칼라
관련 항목:
Color.decode(java.lang.String)

getSecondary1

protected ColorUIResource  getSecondary1()
Secondary 1 칼라를 돌려줍니다. 이것은, 16 진의 RGB 치 0x7A8A99 로 나타내지는 색을 돌려줍니다.

오버라이드(override):
클래스 DefaultMetalTheme 내의 getSecondary1
반환값:
Secondary 1 칼라
관련 항목:
Color.decode(java.lang.String)

getSecondary2

protected ColorUIResource  getSecondary2()
Secondary 2 칼라를 돌려줍니다. 이것은, 16 진의 RGB 치 0xB8CFE5 로 나타내지는 색을 돌려줍니다.

오버라이드(override):
클래스 DefaultMetalTheme 내의 getSecondary2
반환값:
Secondary 2 칼라
관련 항목:
Color.decode(java.lang.String)

getSecondary3

protected ColorUIResource  getSecondary3()
Secondary 3 칼라를 돌려줍니다. 이것은, 16 진의 RGB 치 0xEEEEEE 로 나타내지는 색을 돌려줍니다.

오버라이드(override):
클래스 DefaultMetalTheme 내의 getSecondary3
반환값:
Secondary 3 칼라
관련 항목:
Color.decode(java.lang.String)

getBlack

protected ColorUIResource  getBlack()
흑을 돌려줍니다. 이것은, 16 진의 RGB 치 0x333333 로 나타내지는 색을 돌려줍니다.

오버라이드(override):
클래스 MetalTheme 내의 getBlack
반환값:
관련 항목:
Color.decode(java.lang.String)

getDesktopColor

public ColorUIResource  getDesktopColor()
데스크탑 칼라를 돌려줍니다. 이것은, 16 진의 RGB 치 0xFFFFFF 로 나타내지는 색을 돌려줍니다.

오버라이드(override):
클래스 MetalTheme 내의 getDesktopColor
반환값:
데스크탑 칼라
관련 항목:
Color.decode(java.lang.String)

getInactiveControlTextColor

public ColorUIResource  getInactiveControlTextColor()
액티브하지 않은 컨트롤 텍스트 칼라를 돌려줍니다. 이것은, 16 진의 RGB 치 0x999999 로 나타내지는 색을 돌려줍니다.

오버라이드(override):
클래스 MetalTheme 내의 getInactiveControlTextColor
반환값:
액티브하지 않은 컨트롤 텍스트 칼라

getControlTextColor

public ColorUIResource  getControlTextColor()
컨트롤 텍스트 칼라를 돌려줍니다. 이것은, 16 진의 RGB 치 0x333333 로 나타내지는 색을 돌려줍니다.

오버라이드(override):
클래스 MetalTheme 내의 getControlTextColor
반환값:
컨트롤 텍스트 칼라

getMenuDisabledForeground

public ColorUIResource  getMenuDisabledForeground()
무효인 메뉴의 foreground 칼라를 돌려줍니다. 이것은, 16 진의 RGB 치 0x999999 로 나타내지는 색을 돌려줍니다.

오버라이드(override):
클래스 MetalTheme 내의 getMenuDisabledForeground
반환값:
무효인 메뉴의 foreground 칼라

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.