public class UIRadioButtonMenuItemUI extends UIBasicMenuItemUI
UIBasicMenuItemUI.EmptyIcon, UIBasicMenuItemUI.MouseInputHandler
acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultIconGap, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, selectionBackground, selectionForeground
构造器和说明 |
---|
UIRadioButtonMenuItemUI() |
限定符和类型 | 方法和说明 |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent b)
创建UI
|
protected java.lang.String |
getPropertyPrefix() |
void |
processMouseEvent(javax.swing.JMenuItem item,
java.awt.event.MouseEvent e,
javax.swing.MenuElement[] path,
javax.swing.MenuSelectionManager manager)
鼠标点击事件
|
createMenuDragMouseListener, createMouseInputListener, doClick, getMaximumSize, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintBackground, paintMenuItem, paintText, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
b
- 组件protected java.lang.String getPropertyPrefix()
getPropertyPrefix
在类中 UIBasicMenuItemUI
public void processMouseEvent(javax.swing.JMenuItem item, java.awt.event.MouseEvent e, javax.swing.MenuElement[] path, javax.swing.MenuSelectionManager manager)
item
- 菜单项e
- 鼠标事件path
- 菜单元素路径manager
- 鼠标选择manager