public class BaseMenuItemUI extends BasicMenuItemUI
BasicMenuItemUI.MouseInputHandleracceleratorDelimiter, acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground| Constructor and Description |
|---|
BaseMenuItemUI() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent c) |
void |
installUI(JComponent c) |
protected void |
paintBackground(Graphics g,
JComponent c,
int x,
int y,
int w,
int h) |
protected void |
paintBackground(Graphics g,
JMenuItem menuItem,
Color bgColor) |
protected void |
paintText(Graphics g,
JMenuItem menuItem,
Rectangle textRect,
String text) |
void |
uninstallUI(JComponent c) |
void |
update(Graphics g,
JComponent c) |
createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, createPropertyChangeListener, doClick, getMaximumSize, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, getPropertyPrefix, installComponents, installDefaults, installKeyboardActions, installListeners, paint, paintMenuItem, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListenerscontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehaviorpublic static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI in class BasicMenuItemUIpublic void uninstallUI(JComponent c)
uninstallUI in class BasicMenuItemUIpublic void update(Graphics g, JComponent c)
update in class BasicMenuItemUIprotected void paintBackground(Graphics g, JMenuItem menuItem, Color bgColor)
paintBackground in class BasicMenuItemUIprotected void paintBackground(Graphics g, JComponent c, int x, int y, int w, int h)
Copyright © 2014. All Rights Reserved.