クラスBasicMenuBarUI
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 ComponentUIBasicMenuBarUIの新しいインスタンスを返します。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
-
フィールド詳細
-
containerListener
protected ContainerListener containerListenerContainerListenerのインスタンス。 -
changeListener
protected ChangeListener changeListenerChangeListenerのインスタンス。
-
コンストラクタの詳細
-
BasicMenuBarUI
public BasicMenuBarUI()BasicMenuBarUIを構築します。
-
-
メソッドの詳細
-
createUI
public static ComponentUI createUI(JComponent x) BasicMenuBarUIの新しいインスタンスを返します。- パラメータ:
x- コンポーネント- 戻り値:
BasicMenuBarUIの新しいインスタンス
-
installDefaults
protected void installDefaults()デフォルトのプロパティをインストールします。 -
installListeners
protected void installListeners()リスナーを登録します。 -
installKeyboardActions
protected void installKeyboardActions()キーボード操作を登録します。 -
uninstallDefaults
protected void uninstallDefaults()既定のプロパティをアンインストールします。 -
uninstallListeners
protected void uninstallListeners()リスナーを登録解除します。 -
uninstallKeyboardActions
protected void uninstallKeyboardActions()キーボード操作の登録を解除します。 -
createContainerListener
protected ContainerListener createContainerListener()ContainerListenerのインスタンスを返します。- 戻り値:
ContainerListenerのインスタンス
-
createChangeListener
protected ChangeListener createChangeListener()ChangeListenerのインスタンスを返します。- 戻り値:
ChangeListenerのインスタンス
-