|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectjavax.swing.plaf.synth.SynthContext
public class SynthContext
Region 에 관한 문맥 의존의 정보를 포함한 불변의 일시 객체입니다. SynthContext 가 건네받은 메소드가 불려 가고 있는 동안만,SynthContext 가 유효라고 보여집니다. 즉, 사용자에게 건네진 SynthContext 를 캐쉬에 넣지 않아도, 유효한 상태가 계속되는 것이라고 생각해 주세요.
| 생성자 의 개요 | |
|---|---|
SynthContext (JComponent component,
Region region,
SynthStyle style,
int state)
지정된 값을 사용해 SynthContext 를 작성합니다. |
|
| 메소드의 개요 | |
|---|---|
JComponent |
getComponent ()
이 영역을 포함한 수용측 컴퍼넌트를 돌려줍니다. |
int |
getComponentState ()
SynthConstants 로 정의된 값의 비트 마스크인, 위젯 상태를 돌려줍니다. |
Region |
getRegion ()
이 상태를 식별하는 Region 를 돌려줍니다. |
SynthStyle |
getStyle ()
이 Region 에 관련지을 수 있었던 스타일을 돌려줍니다. |
| 클래스 java.lang. Object 로부터 상속된 메소드 |
|---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
| 생성자 의 상세 |
|---|
public SynthContext(JComponent component,
Region region,
SynthStyle style,
int state)
component - JComponentregion - JComponent 의 부분을 식별하는style - 컴퍼넌트에 관련지을 수 있었던 스타일state - SynthConstants 로 정의된 컴퍼넌트 상태
NullPointerException - 컴퍼넌트, 영역, 또는 스타일이 null 의 경우| 메소드의 상세 |
|---|
public JComponent getComponent()
public Region getRegion()
public SynthStyle getStyle()
public int getComponentState()
SynthConstants 로 정의된 값의 비트 마스크인, 위젯 상태를 돌려줍니다. 영역은, 적어도 ENABLED,MOUSE_OVER,PRESSED, 또는 DISABLED 의 어느 쪽인가에 됩니다.
SynthConstants
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.