所有类
javax.swing.plaf.basic
类 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
-
public class BasicMenuUI
- extends BasicMenuItemUI
MenuUI 的默认 L&F 实现。此实现是一个“组合的”视图/控制器。
从类 javax.swing.plaf.basic.BasicMenuItemUI 继承的字段 |
acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, selectionBackground, selectionForeground |
从类 javax.swing.plaf.basic.BasicMenuItemUI 继承的方法 |
doClick, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, installUI, paint, paintBackground, paintMenuItem, paintText, uninstallComponents, uninstallUI, update |
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
changeListener
protected ChangeListener changeListener
propertyChangeListener
protected PropertyChangeListener propertyChangeListener
menuListener
protected MenuListener menuListener
BasicMenuUI
public BasicMenuUI()
createUI
public static ComponentUI createUI(JComponent x)
-
installDefaults
protected void installDefaults()
-
- 覆盖:
-
类
BasicMenuItemUI
中的 installDefaults
-
getPropertyPrefix
protected String getPropertyPrefix()
-
- 覆盖:
-
类
BasicMenuItemUI
中的 getPropertyPrefix
-
installListeners
protected void installListeners()
-
- 覆盖:
-
类
BasicMenuItemUI
中的 installListeners
-
installKeyboardActions
protected void installKeyboardActions()
-
- 覆盖:
-
类
BasicMenuItemUI
中的 installKeyboardActions
-