java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.MenuBarUI
javax.swing.plaf.basic.BasicMenuBarUI
- 直系の既知のサブクラス:
- MetalMenuBarUI,- SynthMenuBarUI
public class BasicMenuBarUI extends MenuBarUI
MenuBarUIのデフォルトL&F実装です。 この実装は、「結合された」ビュー/コントローラです。 
- 
フィールドのサマリーフィールド修飾子と型フィールド説明protected ChangeListenerChangeListenerのインスタンス。protected ContainerListenerContainerListenerのインスタンス。protected JMenuBarJMenuBarのインスタンス。
- 
コンストラクタのサマリーコンストラクタ
- 
メソッドのサマリー修飾子と型メソッド説明protected ChangeListenerChangeListenerのインスタンスを返します。protected ContainerListenerContainerListenerのインスタンスを返します。static ComponentUIcreateUI(JComponent x)BasicMenuBarUIの新しいインスタンスを返します。protected voidデフォルトのプロパティをインストールします。protected voidキーボード・アクションを登録します。protected voidリスナーを登録します。protected voidデフォルト・プロパティをアンインストールします。protected voidキーボード・アクションを登録解除します。protected voidリスナーの登録を解除します。クラス javax.swing.plaf.ComponentUIで宣言されたメソッドcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
- 
フィールド詳細
- 
containerListenerprotected ContainerListener containerListenerContainerListenerのインスタンス。
- 
changeListenerprotected ChangeListener changeListenerChangeListenerのインスタンス。
 
- 
コンストラクタの詳細- 
BasicMenuBarUIpublic BasicMenuBarUI()BasicMenuBarUIを構築します。
 
- 
- 
メソッドの詳細- 
createUIpublic static ComponentUI createUI(JComponent x)BasicMenuBarUIの新しいインスタンスを返します。- パラメータ:
- x- コンポーネント
- 戻り値:
- BasicMenuBarUIの新しいインスタンス
 
- 
installDefaultsprotected void installDefaults()デフォルトのプロパティをインストールします。
- 
installListenersprotected void installListeners()リスナーを登録します。
- 
installKeyboardActionsprotected void installKeyboardActions()キーボード・アクションを登録します。
- 
uninstallDefaultsprotected void uninstallDefaults()デフォルト・プロパティをアンインストールします。
- 
uninstallListenersprotected void uninstallListeners()リスナーの登録を解除します。
- 
uninstallKeyboardActionsprotected void uninstallKeyboardActions()キーボード・アクションを登録解除します。
- 
createContainerListenerprotected ContainerListener createContainerListener()ContainerListenerのインスタンスを返します。- 戻り値:
- ContainerListenerのインスタンス
 
- 
createChangeListenerprotected ChangeListener createChangeListener()ChangeListenerのインスタンスを返します。- 戻り値:
- ChangeListenerのインスタンス
 
 
-