|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.RootPaneUI
javax.swing.plaf.basic.BasicRootPaneUI
public class BasicRootPaneUI
RootPaneUI 의 기본적인 구현입니다. RootPaneUI 에는 전 JRootPane 인스턴스로 공유하는 구현이 1 개 있습니다.
생성자 의 개요 | |
---|---|
BasicRootPaneUI ()
|
메소드의 개요 | |
---|---|
static ComponentUI |
createUI (JComponent c)
|
protected void |
installComponents (JRootPane root)
|
protected void |
installDefaults (JRootPane c)
|
protected void |
installKeyboardActions (JRootPane root)
|
protected void |
installListeners (JRootPane root)
|
void |
installUI (JComponent c)
Look & Feel 에 적절한, 지정된 컴퍼넌트를 구성합니다. |
void |
propertyChange (PropertyChangeEvent e)
루트 구획의 프로퍼티이 변경이 되었을 때에 불려 갑니다. |
protected void |
uninstallComponents (JRootPane root)
|
protected void |
uninstallDefaults (JRootPane root)
|
protected void |
uninstallKeyboardActions (JRootPane root)
|
protected void |
uninstallListeners (JRootPane root)
|
void |
uninstallUI (JComponent c)
installUI 시에, 지정된 컴퍼넌트로 구성된 내용을 취소합니다. |
클래스 javax.swing.plaf. ComponentUI 로부터 상속된 메소드 |
---|
contains , getAccessibleChild , getAccessibleChildrenCount , getBaseline , getBaselineResizeBehavior , getMaximumSize , getMinimumSize , getPreferredSize , paint , update |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public BasicRootPaneUI()
메소드의 상세 |
---|
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
ComponentUI
의 기술:ComponentUI
인스턴스가, 지정된 컴퍼넌트의 UI 위양으로서 인스톨 되고 있을 때 불려 갑니다. 이 메소드는, 이하를 포함한 Look & Feel 용의 컴퍼넌트를 완전하게 구성할 필요가 있습니다.
LayoutManager
를 인스톨 한다
PropertyChangeListener
를 컴퍼넌트에 작성 또는 인스톨 한다
ComponentUI
내의 installUI
c
- UI 위양이 인스톨 되고 있는 컴퍼넌트ComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
public void uninstallUI(JComponent c)
ComponentUI
의 기술:installUI
시에, 지정된 컴퍼넌트로 구성된 내용을 취소합니다. 이 메소드는, 지정된 컴퍼넌트의 UI 위양으로서의 UIComponent
인스턴스가 삭제되고 있을 때 불려 갑니다. 이 메소드는,installUI
에 의해 실행된 구성을 바탕으로 되돌릴 필요가 있습니다. 이 경우,JComponent
인스턴스를 깨끗한 상태 (여분의 청취자나, Look & Feel 고유의 프로퍼티 객체가 남지 않게)로 하도록(듯이) 충분히 주의해 주세요. 순서에는 다음의 것이 있습니다.
ComponentUI
내의 uninstallUI
c
- 이 UI 위양을 삭제하는 컴퍼넌트.
이 인수는 일반적으로 무시되지만,
UI 객체에 상태가 없고, 복수의 컴퍼넌트에 공유되고 있는 경우는
사용되는 일이 있는ComponentUI.installUI(javax.swing.JComponent)
,
JComponent.updateUI()
protected void installDefaults(JRootPane c)
protected void installComponents(JRootPane root)
protected void installListeners(JRootPane root)
protected void installKeyboardActions(JRootPane root)
protected void uninstallDefaults(JRootPane root)
protected void uninstallComponents(JRootPane root)
protected void uninstallListeners(JRootPane root)
protected void uninstallKeyboardActions(JRootPane root)
public void propertyChange(PropertyChangeEvent e)
defaultButton
가 변경이 된 것을 이벤트가 가리키는 경우는, 키보드 액션을 인스톨 다시 합니다.
PropertyChangeListener
내의 propertyChange
e
- 이벤트 소스 및 변경한 프로퍼티을 기술한다
PropertyChangeEvent 객체
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.