- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ButtonUI
-
- javax.swing.plaf.MenuItemUI
-
- javax.swing.plaf.basic.BasicMenuItemUI
-
- javax.swing.plaf.basic.BasicCheckBoxMenuItemUI
-
public class BasicCheckBoxMenuItemUI extends BasicMenuItemUI
BasicCheckboxMenuItem实现
-
-
嵌套类汇总
-
嵌套类/接口声明在类 javax.swing.plaf.basic.BasicMenuItemUI
BasicMenuItemUI.MouseInputHandler
-
-
字段汇总
-
声明的属性在类 javax.swing.plaf.basic.BasicMenuItemUI
acceleratorDelimiter, acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground
-
-
构造方法摘要
构造方法 构造器 描述 BasicCheckBoxMenuItemUI()
-
方法摘要
所有方法 静态方法 实例方法 具体的方法 变量和类型 方法 描述 static ComponentUI
createUI(JComponent c)
构造一个BasicCheckBoxMenuItemUI
的新实例。void
processMouseEvent(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager)
发生鼠标事件时调用。-
声明方法的类 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
-
-
-
-
方法详细信息
-
createUI
public static ComponentUI createUI(JComponent c)
构造一个BasicCheckBoxMenuItemUI
的新实例。- 参数
-
c
- 一个组件 - 结果
-
BasicCheckBoxMenuItemUI
的新实例
-
processMouseEvent
public void processMouseEvent(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager)
发生鼠标事件时调用。- 参数
-
item
- 菜单项 -
e
- 鼠标事件 -
path
- 数组MenuElement
-
manager
-实例MenuSelectionManager
-
-