|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjava.awt.Color
java.awt.SystemColor
public final class SystemColor
시스템의 네이티브인 GUI 객체의 색을 나타내는 상징적 칼라를 캡슐화하는 클래스입니다. 시스템 칼라의 동적인 갱신을 지원하는 (사용자가 칼라를 변경했을 때) 시스템에서는, 이것들 상징적 칼라의 실제의 RGB 치도 동적으로 변화합니다. SystemColor
객체의 현재의 RGB 치를 비상징적 Color 객체와 비교하려면 equals
는 아니고 getRGB
를 사용합니다.
GUI 객체는 각 플랫폼에서 달라 draw 되기 (위해)때문에, 이러한 시스템 칼라가 GUI 객체에 적용되는 방법은 플랫폼 마다 조금씩 다른 것에 주의해 주세요.
시스템 칼라의 값은 java.awt.Toolkit
의 getDesktopProperty
메소드에서도 사용 가능합니다.
Toolkit.getDesktopProperty(java.lang.String)
,
직렬화 된 형식 필드의 개요 | |
---|---|
static int |
ACTIVE_CAPTION
activeCaption 시스템 칼라의 배열 인덱스입니다. |
static int |
ACTIVE_CAPTION_BORDER
activeCaptionBorder 시스템 칼라의 배열 인덱스입니다. |
static int |
ACTIVE_CAPTION_TEXT
activeCaptionText 시스템 칼라의 배열 인덱스입니다. |
static SystemColor |
activeCaption
현재 액티브한 윈도우의 윈도우 타이틀의 백그라운드에서 draw 되는 칼라입니다. |
static SystemColor |
activeCaptionBorder
현재 액티브한 윈도우의 경계로 draw 되는 칼라입니다. |
static SystemColor |
activeCaptionText
현재 액티브한 윈도우의 윈도우 타이틀의 텍스트로 draw 되는 칼라입니다. |
static SystemColor |
control
푸쉬 버튼 등, 컨트롤 패널이나 컨트롤 객체의 백그라운드에서 draw 되는 칼라입니다. |
static int |
CONTROL
control 시스템 칼라의 배열 인덱스입니다. |
static int |
CONTROL_DK_SHADOW
controlDkShadow 시스템 칼라의 배열 인덱스입니다. |
static int |
CONTROL_HIGHLIGHT
controlHighlight 시스템 칼라의 배열 인덱스입니다. |
static int |
CONTROL_LT_HIGHLIGHT
controlLtHighlight 시스템 칼라의 배열 인덱스입니다. |
static int |
CONTROL_SHADOW
controlShadow 시스템 칼라의 배열 인덱스입니다. |
static int |
CONTROL_TEXT
controlText 시스템 칼라의 배열 인덱스입니다. |
static SystemColor |
controlDkShadow
푸쉬 버튼 등, 3D 컨트롤 객체의 어둡게 그림자가 붙은 영역에서 draw 되는 칼라입니다. |
static SystemColor |
controlHighlight
푸쉬 버튼 등, 3D 컨트롤 객체의 밝게 빛난 영역에서 draw 되는 칼라입니다. |
static SystemColor |
controlLtHighlight
푸쉬 버튼 등, 3D 컨트롤 객체의 강조 표시 영역에서 draw 되는 칼라입니다. |
static SystemColor |
controlShadow
푸쉬 버튼 등, 3D 컨트롤 객체의 그림자가 붙은 영역에서 draw 되는 칼라입니다. |
static SystemColor |
controlText
푸쉬 버튼 등, 컨트롤 패널이나 컨트롤 객체의 텍스트로 draw 되는 칼라입니다. |
static SystemColor |
desktop
데스크탑의 백그라운드에서 draw 되는 칼라입니다. |
static int |
DESKTOP
desktop 시스템 칼라의 배열 인덱스입니다. |
static int |
INACTIVE_CAPTION
inactiveCaption 시스템 칼라의 배열 인덱스입니다. |
static int |
INACTIVE_CAPTION_BORDER
inactiveCaptionBorder 시스템 칼라의 배열 인덱스입니다. |
static int |
INACTIVE_CAPTION_TEXT
inactiveCaptionText 시스템 칼라의 배열 인덱스입니다. |
static SystemColor |
inactiveCaption
현재 액티브하지 않은 윈도우의 윈도우 타이틀의 백그라운드에서 draw 되는 칼라입니다. |
static SystemColor |
inactiveCaptionBorder
현재 액티브하지 않은 윈도우의 경계로 draw 되는 칼라입니다. |
static SystemColor |
inactiveCaptionText
현재 액티브하지 않은 윈도우의 윈도우 타이틀의 텍스트로 draw 되는 칼라입니다. |
static SystemColor |
info
툴 팁 또는 스포트 헬프의 백그라운드에서 draw 되는 칼라입니다. |
static int |
INFO
info 시스템 칼라의 배열 인덱스입니다. |
static int |
INFO_TEXT
infoText 시스템 칼라의 배열 인덱스입니다. |
static SystemColor |
infoText
툴 팁 또는 스포트 헬프의 텍스트로 draw 되는 칼라입니다. |
static SystemColor |
menu
메뉴의 백그라운드에서 draw 되는 칼라입니다. |
static int |
MENU
menu 시스템 칼라의 배열 인덱스입니다. |
static int |
MENU_TEXT
menuText 시스템 칼라의 배열 인덱스입니다. |
static SystemColor |
menuText
메뉴의 텍스트로 draw 되는 칼라입니다. |
static int |
NUM_COLORS
배열내의 시스템 칼라의 수입니다. |
static SystemColor |
scrollbar
스크롤 바의 백그라운드에서 draw 되는 칼라입니다. |
static int |
SCROLLBAR
scrollbar 시스템 칼라의 배열 인덱스입니다. |
static SystemColor |
text
텍스트 필드나 combobox 등, 텍스트 컨트롤 객체의 백그라운드에서 draw 되는 칼라입니다. |
static int |
TEXT
text 시스템 칼라의 배열 인덱스입니다. |
static int |
TEXT_HIGHLIGHT
textHighlight 시스템 칼라의 배열 인덱스입니다. |
static int |
TEXT_HIGHLIGHT_TEXT
textHighlightText 시스템 칼라의 배열 인덱스입니다. |
static int |
TEXT_INACTIVE_TEXT
textInactiveText 시스템 칼라의 배열 인덱스입니다. |
static int |
TEXT_TEXT
textText 시스템 칼라의 배열 인덱스입니다. |
static SystemColor |
textHighlight
메뉴, combobox, 텍스트 등, 선택한 항목의 백그라운드에서 draw 되는 칼라입니다. |
static SystemColor |
textHighlightText
메뉴, combobox, 텍스트 등, 선택한 항목의 텍스트 백그라운드에서 draw 되는 칼라입니다. |
static SystemColor |
textInactiveText
메뉴 등, 액티브하지 않은 항목의 텍스트로 draw 되는 칼라입니다. |
static SystemColor |
textText
텍스트 필드나 combobox 등, 텍스트 컨트롤 객체의 텍스트로 draw 되는 칼라입니다. |
static SystemColor |
window
윈도우내의 안쪽의 영역의 백그라운드에서 draw 되는 칼라입니다. |
static int |
WINDOW
window 시스템 칼라의 배열 인덱스입니다. |
static int |
WINDOW_BORDER
windowBorder 시스템 칼라의 배열 인덱스입니다. |
static int |
WINDOW_TEXT
windowText 시스템 칼라의 배열 인덱스입니다. |
static SystemColor |
windowBorder
윈도우내의 안쪽의 영역의 경계로 draw 되는 칼라입니다. |
static SystemColor |
windowText
윈도우내의 안쪽의 영역의 텍스트로 draw 되는 칼라입니다. |
클래스 java.awt. Color 로부터 상속된 필드 |
---|
black , BLACK , blue , BLUE , cyan , CYAN , DARK_GRAY , darkGray , gray , GRAY , green , GREEN , LIGHT_GRAY , lightGray , magenta , MAGENTA , orange , ORANGE , pink , PINK , red , RED , white , WHITE , yellow , YELLOW |
인터페이스 java.awt. Transparency 로부터 상속된 필드 |
---|
BITMASK , OPAQUE , TRANSLUCENT |
메소드의 개요 | |
---|---|
PaintContext |
createContext (ColorModel cm,
Rectangle r,
Rectangle2D r2d,
AffineTransform xform,
RenderingHints hints)
솔리드 칼라 패턴을 작성하기 위해서 사용되는 PaintContext 를 작성해 돌려줍니다. |
int |
getRGB ()
상징적 칼라를 나타내는 현재의 RGB 치를 돌려줍니다 (비트 24-31 는 0 xff,16-23 는 빨강,8-15 은 초록,0-7 은 파랑). |
String |
toString ()
이 Color 의 값의 캐릭터 라인 표현을 돌려줍니다. |
클래스 java.awt. Color 로부터 상속된 메소드 |
---|
brighter , darker , decode , equals , getAlpha , getBlue , getColor , getColor , getColor , getColorComponents , getColorComponents , getColorSpace , getComponents , getComponents , getGreen , getHSBColor , getRed , getRGBColorComponents , getRGBComponents , getTransparency , hashCode , HSBtoRGB , RGBtoHSB |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , finalize , getClass , notify , notifyAll , wait , wait , wait |
필드의 상세 |
---|
public static final int DESKTOP
desktop
시스템 칼라의 배열 인덱스입니다.
desktop
,
정수 필드치 public static final int ACTIVE_CAPTION
activeCaption
시스템 칼라의 배열 인덱스입니다.
activeCaption
,
정수 필드치 public static final int ACTIVE_CAPTION_TEXT
activeCaptionText
시스템 칼라의 배열 인덱스입니다.
activeCaptionText
,
정수 필드치 public static final int ACTIVE_CAPTION_BORDER
activeCaptionBorder
시스템 칼라의 배열 인덱스입니다.
activeCaptionBorder
,
정수 필드치 public static final int INACTIVE_CAPTION
inactiveCaption
시스템 칼라의 배열 인덱스입니다.
inactiveCaption
,
정수 필드치 public static final int INACTIVE_CAPTION_TEXT
inactiveCaptionText
시스템 칼라의 배열 인덱스입니다.
inactiveCaptionText
,
정수 필드치 public static final int INACTIVE_CAPTION_BORDER
inactiveCaptionBorder
시스템 칼라의 배열 인덱스입니다.
inactiveCaptionBorder
,
정수 필드치 public static final int WINDOW
window
시스템 칼라의 배열 인덱스입니다.
window
,
정수 필드치 public static final int WINDOW_BORDER
windowBorder
시스템 칼라의 배열 인덱스입니다.
windowBorder
,
정수 필드치 public static final int WINDOW_TEXT
windowText
시스템 칼라의 배열 인덱스입니다.
windowText
,
정수 필드치 public static final int MENU
menu
시스템 칼라의 배열 인덱스입니다.
menu
,
정수 필드치 public static final int MENU_TEXT
menuText
시스템 칼라의 배열 인덱스입니다.
menuText
,
정수 필드치 public static final int TEXT
text
시스템 칼라의 배열 인덱스입니다.
text
,
정수 필드치 public static final int TEXT_TEXT
textText
시스템 칼라의 배열 인덱스입니다.
textText
,
정수 필드치 public static final int TEXT_HIGHLIGHT
textHighlight
시스템 칼라의 배열 인덱스입니다.
textHighlight
,
정수 필드치 public static final int TEXT_HIGHLIGHT_TEXT
textHighlightText
시스템 칼라의 배열 인덱스입니다.
textHighlightText
,
정수 필드치 public static final int TEXT_INACTIVE_TEXT
textInactiveText
시스템 칼라의 배열 인덱스입니다.
textInactiveText
,
정수 필드치 public static final int CONTROL
control
시스템 칼라의 배열 인덱스입니다.
control
,
정수 필드치 public static final int CONTROL_TEXT
controlText
시스템 칼라의 배열 인덱스입니다.
controlText
,
정수 필드치 public static final int CONTROL_HIGHLIGHT
controlHighlight
시스템 칼라의 배열 인덱스입니다.
controlHighlight
,
정수 필드치 public static final int CONTROL_LT_HIGHLIGHT
controlLtHighlight
시스템 칼라의 배열 인덱스입니다.
controlLtHighlight
,
정수 필드치 public static final int CONTROL_SHADOW
controlShadow
시스템 칼라의 배열 인덱스입니다.
controlShadow
,
정수 필드치 public static final int CONTROL_DK_SHADOW
controlDkShadow
시스템 칼라의 배열 인덱스입니다.
controlDkShadow
,
정수 필드치 public static final int SCROLLBAR
scrollbar
시스템 칼라의 배열 인덱스입니다.
scrollbar
,
정수 필드치 public static final int INFO
info
시스템 칼라의 배열 인덱스입니다.
info
,
정수 필드치 public static final int INFO_TEXT
infoText
시스템 칼라의 배열 인덱스입니다.
infoText
,
정수 필드치 public static final int NUM_COLORS
public static final SystemColor desktop
public static final SystemColor activeCaption
public static final SystemColor activeCaptionText
public static final SystemColor activeCaptionBorder
public static final SystemColor inactiveCaption
public static final SystemColor inactiveCaptionText
public static final SystemColor inactiveCaptionBorder
public static final SystemColor window
public static final SystemColor windowBorder
public static final SystemColor windowText
public static final SystemColor menu
public static final SystemColor menuText
public static final SystemColor text
public static final SystemColor textText
public static final SystemColor textHighlight
public static final SystemColor textHighlightText
public static final SystemColor textInactiveText
public static final SystemColor control
public static final SystemColor controlText
public static final SystemColor controlHighlight
control
백그라운드 칼라로부터 파생합니다.
public static final SystemColor controlLtHighlight
control
백그라운드 칼라로부터 파생합니다.
public static final SystemColor controlShadow
control
백그라운드 칼라로부터 파생합니다.
public static final SystemColor controlDkShadow
control
백그라운드 칼라로부터 파생합니다.
public static final SystemColor scrollbar
public static final SystemColor info
public static final SystemColor infoText
메소드의 상세 |
---|
public int getRGB()
Color
내의 getRGB
ColorModel
의 색의 RGB 치ColorModel.getRGBdefault()
,
Color.getBlue()
,
Color.getGreen()
,
Color.getRed()
public PaintContext createContext(ColorModel cm, Rectangle r, Rectangle2D r2d, AffineTransform xform, RenderingHints hints)
PaintContext
를 작성해 돌려줍니다. 이것에 의해, Paint 인터페이스를 구현하는 객체를 요구하는 메소드에의 인수로서 Color 객체를 사용할 수 있게 됩니다.
Paint
내의 createContext
Color
내의 createContext
cm
- 지정된 ColorModel
r
- 지정된 Rectangle
r2d
- 지정된 Rectangle2D
xform
- 지정된 AffineTransform
hints
- 지정된 RenderingHints
PaintContext
Paint
,
PaintContext
,
Graphics2D.setPaint(java.awt.Paint)
public String toString()
Color
의 값의 캐릭터 라인 표현을 돌려줍니다. 이 메소드는 디버그 전용이며, 반환되는 캐릭터 라인의 내용 및 형식은 구현에 따라서 다릅니다. 반환되는 캐릭터 라인은 빈 상태(empty)의 경우가 있습니다만,null
로는 되지 않습니다.
Color
내의 toString
Color
의 캐릭터 라인 표현
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.