public class PgsMenuUI extends BasicMenuUI
BasicMenuUI.ChangeHandler, BasicMenuUI.MouseInputHandlerchangeListener, menuListeneracceleratorDelimiter, acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground| Constructor and Description |
|---|
PgsMenuUI() |
| Modifier and Type | Method and Description |
|---|---|
protected BasicButtonListener |
createButtonListener(AbstractButton b) |
static ComponentUI |
createUI(JComponent c) |
protected void |
installListeners() |
protected void |
paintBackground(Graphics g,
JMenuItem menuItem,
Color bgColor) |
protected void |
paintText(Graphics g,
JMenuItem c,
Rectangle textRect,
String text) |
protected void |
uninstallListeners() |
createChangeListener, createMenuDragMouseListener, createMenuKeyListener, createMenuListener, createMouseInputListener, createPropertyChangeListener, getMaximumSize, getPropertyPrefix, installDefaults, installKeyboardActions, setupPostTimer, uninstallDefaults, uninstallKeyboardActionsdoClick, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, installUI, paint, paintMenuItem, uninstallComponents, uninstallUI, updatecontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehaviorpublic static ComponentUI createUI(JComponent c)
protected void installListeners()
installListeners in class BasicMenuUIprotected void uninstallListeners()
uninstallListeners in class BasicMenuUIprotected BasicButtonListener createButtonListener(AbstractButton b)
protected void paintBackground(Graphics g, JMenuItem menuItem, Color bgColor)
paintBackground in class BasicMenuItemUICopyright © 2015. All rights reserved.