|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.MenuBarUI
javax.swing.plaf.basic.BasicMenuBarUI
javax.swing.plaf.metal.MetalMenuBarUI
public class MetalMenuBarUI
MenuBarUI
의 Metal 에 의한 구현입니다. 이 클래스는,JMenuBar
의 Metal Look & Feel 를 제공합니다.
MenuBarUI
필드의 개요 |
---|
클래스 javax.swing.plaf.basic. BasicMenuBarUI 로부터 상속된 필드 |
---|
changeListener , containerListener , menuBar |
생성자 의 개요 | |
---|---|
MetalMenuBarUI ()
|
메소드의 개요 | |
---|---|
static ComponentUI |
createUI (JComponent x)
건네받은 컴퍼넌트의 ComponentUI 구현을 작성합니다. |
void |
installUI (JComponent c)
Metal Look & Feel 에 적절한, 지정된 컴퍼넌트를 구성합니다. |
void |
uninstallUI (JComponent c)
installUI 시에, 지정된 컴퍼넌트로 구성된 내용을 취소합니다. |
void |
update (Graphics g,
JComponent c)
컴퍼넌트의 백그라운드를 페인트 할 필요가 있는 경우에 paint 를 호출합니다. |
클래스 javax.swing.plaf.basic. BasicMenuBarUI 로부터 상속된 메소드 |
---|
createChangeListener , createContainerListener , getMaximumSize , getMinimumSize , installDefaults , installKeyboardActions , installListeners , uninstallDefaults , uninstallKeyboardActions , uninstallListeners |
클래스 javax.swing.plaf. ComponentUI 로부터 상속된 메소드 |
---|
contains , getAccessibleChild , getAccessibleChildrenCount , getBaseline , getBaselineResizeBehavior , getPreferredSize , paint |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public MetalMenuBarUI()
메소드의 상세 |
---|
public static ComponentUI createUI(JComponent x)
ComponentUI
구현을 작성합니다.
x
- ComponentUI 구현이 작성되는 JComponent
x
의 ComponentUI 구현
NullPointerException
- x
가 null 의 경우public void installUI(JComponent c)
BasicMenuBarUI
내의 installUI
c
- UI 위양이 인스톨 되고 있는 컴퍼넌트
NullPointerException
- c
가 null 의 경우ComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
public void uninstallUI(JComponent c)
installUI
시에, 지정된 컴퍼넌트로 구성된 내용을 취소합니다.
BasicMenuBarUI
내의 uninstallUI
c
- UI 위양이 인스톨 되고 있는 컴퍼넌트
NullPointerException
- c
가 null 의 경우ComponentUI.installUI(javax.swing.JComponent)
,
JComponent.updateUI()
public void update(Graphics g, JComponent c)
paint
를 호출합니다.
ComponentUI
내의 update
g
- 페인트 되는 Graphicsc
- 페인트 되는 JComponent
NullPointerException
- g
또는 c
가
null 의 경우ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
,
ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.