public class BasicCheckBoxMenuItemUI extends BasicMenuItemUI
BasicMenuItemUI.MouseInputHandler
acceleratorDelimiter, acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground
Constructor | Description |
---|---|
BasicCheckBoxMenuItemUI() |
Modifier and Type | Method | Description |
---|---|---|
static ComponentUI |
createUI(JComponent c) |
Constructs a new instance of
BasicCheckBoxMenuItemUI . |
protected String |
getPropertyPrefix() |
Returns a property prefix.
|
void |
processMouseEvent(JMenuItem item,
MouseEvent e,
MenuElement[] path,
MenuSelectionManager manager) |
Invoked when mouse event occurs.
|
createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, createPropertyChangeListener, doClick, getMaximumSize, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintBackground, paintMenuItem, paintText, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior
public static ComponentUI createUI(JComponent c)
BasicCheckBoxMenuItemUI
.c
- a componentBasicCheckBoxMenuItemUI
protected String getPropertyPrefix()
BasicMenuItemUI
getPropertyPrefix
in class BasicMenuItemUI
public void processMouseEvent(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager)
item
- a menu iteme
- a mouse eventpath
- an array of MenuElement
manager
- an instance of MenuSelectionManager
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps