クラスBasicMenuUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.MenuItemUI
javax.swing.plaf.basic.BasicMenuItemUI
javax.swing.plaf.basic.BasicMenuUI
- 直系の既知のサブクラス:
SynthMenuUI
public class BasicMenuUI extends BasicMenuItemUI
MenuUIのデフォルトL&F実装です。 この実装は、「結合された」ビュー/コントローラです。
-
ネストされたクラスのサマリー
ネストされたクラス修飾子と型クラス説明classJava 2プラットフォーム1.4から、以前にドキュメントから削除されたこのクラスは廃止されました。protected classマウス・イベントからの現在のメニュー選択を処理するために、メニュー項目によりインスタンス化されて使用されます。 -
フィールドのサマリー
フィールド修飾子と型フィールド説明protected ChangeListenerChangeListenerのインスタンス。protected MenuListenerMenuListenerのインスタンス。クラスで宣言されたフィールド BasicMenuItemUI
acceleratorDelimiter, acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground -
コンストラクタのサマリー
コンストラクタ -
メソッドのサマリー
修飾子と型メソッド説明protected ChangeListenerChangeListenerのインスタンスを返します。protected MenuListenerMenuListenerのインスタンスを返します。static ComponentUIBasicMenuUIの新しいインスタンスを構築します。protected voidsetupPostTimer(JMenu menu) タイマーをmenuに設定します。クラスで宣言されたメソッド BasicMenuItemUI
createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, createPropertyChangeListener, doClick, getPath, getPreferredMenuItemSize, getPropertyPrefix, installComponents, installDefaults, installKeyboardActions, installListeners, paintBackground, paintMenuItem, paintText, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, update
-
フィールド詳細
-
changeListener
protected ChangeListener changeListenerChangeListenerのインスタンス。
-
-
コンストラクタの詳細
-
BasicMenuUI
public BasicMenuUI()BasicMenuUIを構築します。
-
-
メソッドの詳細
-
createUI
public static ComponentUI createUI(JComponent x) BasicMenuUIの新しいインスタンスを構築します。- パラメータ:
x- コンポーネント- 戻り値:
BasicMenuUIの新しいインスタンス
-
createMenuListener
protected MenuListener createMenuListener(JComponent c) MenuListenerのインスタンスを返します。- パラメータ:
c- コンポーネント- 戻り値:
MenuListenerのインスタンス
-
createChangeListener
protected ChangeListener createChangeListener(JComponent c) ChangeListenerのインスタンスを返します。- パラメータ:
c- コンポーネント- 戻り値:
ChangeListenerのインスタンス
-
setupPostTimer
-