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 ChangeListenerchangeListenerChangeListenerのインスタンス。protected ContainerListenercontainerListenerContainerListenerのインスタンス。protected JMenuBarmenuBarJMenuBarのインスタンス。
- 
コンストラクタのサマリーコンストラクタ コンストラクタ 説明 BasicMenuBarUI()
- 
メソッドのサマリー修飾子と型 メソッド 説明 protected ChangeListenercreateChangeListener()ChangeListenerのインスタンスを返します。protected ContainerListenercreateContainerListener()ContainerListenerのインスタンスを返します。static ComponentUIcreateUI(JComponent x)BasicMenuBarUIの新しいインスタンスを返します。protected voidinstallDefaults()デフォルトのプロパティをインストールします。protected voidinstallKeyboardActions()キーボード・アクションを登録します。protected voidinstallListeners()リスナーを登録します。protected voiduninstallDefaults()デフォルト・プロパティをアンインストールします。protected voiduninstallKeyboardActions()キーボード・アクションを登録解除します。protected voiduninstallListeners()リスナーの登録を解除します。クラス javax.swing.plaf.ComponentUIで宣言されたメソッドcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
- 
フィールド詳細- 
menuBarprotected JMenuBar menuBarJMenuBarのインスタンス。
- 
containerListenerprotected ContainerListener containerListenerContainerListenerのインスタンス。
- 
changeListenerprotected ChangeListener changeListenerChangeListenerのインスタンス。
 
- 
- 
コンストラクタの詳細- 
BasicMenuBarUIpublic 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のインスタンス
 
 
-