JavaTM 2 Platform
Std. Ed. v1.3

javax.swing.plaf.basic
クラス BasicMenuBarUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.MenuBarUI
              |
              +--javax.swing.plaf.basic.BasicMenuBarUI

public class BasicMenuBarUI
extends MenuBarUI

MenuBarUI のデフォルトの Look & Feel による実装です。この実装は、ビューとコントローラを一体化したものです。


フィールドの概要
protected  ChangeListener changeListener
           
protected  ContainerListener containerListener
           
protected  JMenuBar menuBar
           
 
コンストラクタの概要
BasicMenuBarUI()
           
 
メソッドの概要
protected  ChangeListener createChangeListener()
           
protected  ContainerListener createContainerListener()
           
static ComponentUI createUI(JComponent x)
           
 Dimension getMaximumSize(JComponent c)
           
 Dimension getMinimumSize(JComponent c)
           
 Dimension getPreferredSize(JComponent c)
           
protected  void installDefaults()
           
protected  void installKeyboardActions()
           
protected  void installListeners()
           
 void installUI(JComponent c)
           
protected  void uninstallDefaults()
           
protected  void uninstallKeyboardActions()
           
protected  void uninstallListeners()
           
 void uninstallUI(JComponent c)
           
 
クラス javax.swing.plaf.ComponentUI から継承したメソッド
contains, getAccessibleChild, getAccessibleChildrenCount, paint, update
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

menuBar

protected JMenuBar menuBar

containerListener

protected ContainerListener containerListener

changeListener

protected ChangeListener changeListener
コンストラクタの詳細

BasicMenuBarUI

public BasicMenuBarUI()
メソッドの詳細

createUI

public static ComponentUI createUI(JComponent x)

installUI

public void installUI(JComponent c)
オーバーライド:
クラス ComponentUI 内の installUI

installDefaults

protected void installDefaults()

installListeners

protected void installListeners()

installKeyboardActions

protected void installKeyboardActions()

uninstallUI

public void uninstallUI(JComponent c)
オーバーライド:
クラス ComponentUI 内の uninstallUI

uninstallDefaults

protected void uninstallDefaults()

uninstallListeners

protected void uninstallListeners()

uninstallKeyboardActions

protected void uninstallKeyboardActions()

createContainerListener

protected ContainerListener createContainerListener()

createChangeListener

protected ChangeListener createChangeListener()

getPreferredSize

public Dimension getPreferredSize(JComponent c)
オーバーライド:
クラス ComponentUI 内の getPreferredSize

getMinimumSize

public Dimension getMinimumSize(JComponent c)
オーバーライド:
クラス ComponentUI 内の getMinimumSize

getMaximumSize

public Dimension getMaximumSize(JComponent c)
オーバーライド:
クラス ComponentUI 内の getMaximumSize

JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.