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のインスタンス。クラス javax.swing.plaf.basic.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に設定します。クラス javax.swing.plaf.basic.BasicMenuItemUIで宣言されたメソッドcreateMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, createPropertyChangeListener, doClick, getPath, getPreferredMenuItemSize, getPropertyPrefix, installComponents, installDefaults, installKeyboardActions, installListeners, paintBackground, paintMenuItem, paintText, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, updateクラス javax.swing.plaf.ComponentUIで宣言されたメソッドcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI
- 
フィールド詳細- 
changeListenerprotected ChangeListener changeListenerChangeListenerのインスタンス。
 
- 
- 
コンストラクタの詳細- 
BasicMenuUIpublic BasicMenuUI()BasicMenuUIを構築します。
 
- 
- 
メソッドの詳細- 
createUIpublic static ComponentUI createUI(JComponent x) BasicMenuUIの新しいインスタンスを構築します。- パラメータ:
- x- コンポーネント
- 戻り値:
- BasicMenuUIの新しいインスタンス
 
- 
createMenuListenerprotected MenuListener createMenuListener(JComponent c) MenuListenerのインスタンスを返します。- パラメータ:
- c- コンポーネント
- 戻り値:
- MenuListenerのインスタンス
 
- 
createChangeListenerprotected ChangeListener createChangeListener(JComponent c) ChangeListenerのインスタンスを返します。- パラメータ:
- c- コンポーネント
- 戻り値:
- ChangeListenerのインスタンス
 
- 
setupPostTimerprotected void setupPostTimer(JMenu menu) タイマーをmenuに設定します。- パラメータ:
- menu-- JMenuのインスタンス。
 
 
-