public class UIBasicMenuUI extends UIBasicMenuItemUI
限定符和类型 | 类和说明 |
---|---|
protected class |
UIBasicMenuUI.MouseInputHandler
Instantiated and used by a menu item to handle the current menu selection
from mouse events.
|
UIBasicMenuItemUI.EmptyIcon
限定符和类型 | 字段和说明 |
---|---|
protected javax.swing.event.ChangeListener |
changeListener |
protected java.beans.PropertyChangeListener |
propertyChangeListener |
acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultIconGap, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, selectionBackground, selectionForeground
构造器和说明 |
---|
UIBasicMenuUI() |
限定符和类型 | 方法和说明 |
---|---|
protected javax.swing.event.ChangeListener |
createChangeListener(javax.swing.JComponent c) |
protected javax.swing.event.MenuDragMouseListener |
createMenuDragMouseListener(javax.swing.JComponent c) |
protected javax.swing.event.MenuKeyListener |
createMenuKeyListener(javax.swing.JComponent c) |
protected javax.swing.event.MouseInputListener |
createMouseInputListener(javax.swing.JComponent c) |
protected java.beans.PropertyChangeListener |
createPropertyChangeListener(javax.swing.JComponent c) |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent x)
创建UI
|
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent c) |
protected java.lang.String |
getPropertyPrefix() |
protected void |
installDefaults() |
protected void |
installKeyboardActions() |
protected void |
installListeners() |
protected void |
setupPostTimer(javax.swing.JMenu menu) |
protected void |
uninstallDefaults() |
protected void |
uninstallListeners() |
doClick, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, installUI, paint, paintBackground, paintMenuItem, paintText, uninstallComponents, uninstallKeyboardActions, uninstallUI, update
protected javax.swing.event.ChangeListener changeListener
protected java.beans.PropertyChangeListener propertyChangeListener
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
x
- 组件protected void installDefaults()
installDefaults
在类中 UIBasicMenuItemUI
protected java.lang.String getPropertyPrefix()
getPropertyPrefix
在类中 UIBasicMenuItemUI
protected void installListeners()
installListeners
在类中 UIBasicMenuItemUI
protected void installKeyboardActions()
protected javax.swing.event.MouseInputListener createMouseInputListener(javax.swing.JComponent c)
protected javax.swing.event.ChangeListener createChangeListener(javax.swing.JComponent c)
protected java.beans.PropertyChangeListener createPropertyChangeListener(javax.swing.JComponent c)
protected void uninstallDefaults()
uninstallDefaults
在类中 UIBasicMenuItemUI
protected void uninstallListeners()
uninstallListeners
在类中 UIBasicMenuItemUI
protected javax.swing.event.MenuDragMouseListener createMenuDragMouseListener(javax.swing.JComponent c)
protected javax.swing.event.MenuKeyListener createMenuKeyListener(javax.swing.JComponent c)
public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
getMaximumSize
在类中 UIBasicMenuItemUI
protected void setupPostTimer(javax.swing.JMenu menu)