Package com.jtattoo.plaf
Class BaseMenuUI
- Direct Known Subclasses:
GraphiteMenuUI
,TextureMenuUI
BaseMenuUI class.
Author Michael Hagen-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicMenuUI
BasicMenuUI.ChangeHandler, BasicMenuUI.MouseInputHandler
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicMenuUI
changeListener, menuListener
Fields inherited from class javax.swing.plaf.basic.BasicMenuItemUI
acceleratorDelimiter, acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MouseInputListener
static ComponentUI
protected void
void
protected void
paintBackground
(Graphics g, JComponent c, int x, int y, int w, int h) paintBackground.protected void
paintBackground
(Graphics g, JMenuItem menuItem, Color bgColor) protected void
void
void
update
(Graphics g, JComponent c) Methods inherited from class javax.swing.plaf.basic.BasicMenuUI
createChangeListener, createMenuDragMouseListener, createMenuKeyListener, createMenuListener, createPropertyChangeListener, getMaximumSize, getMinimumSize, getPropertyPrefix, installKeyboardActions, installListeners, setupPostTimer, uninstallDefaults, uninstallKeyboardActions, uninstallListeners
Methods inherited from class javax.swing.plaf.basic.BasicMenuItemUI
doClick, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, paint, paintMenuItem, uninstallComponents
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior
-
Field Details
-
paintRolloverBorder
protected boolean paintRolloverBorder
-
-
Constructor Details
-
BaseMenuUI
public BaseMenuUI()
-
-
Method Details
-
createUI
-
createMouseInputListener
- Overrides:
createMouseInputListener
in classBasicMenuUI
-
installDefaults
protected void installDefaults()- Overrides:
installDefaults
in classBasicMenuUI
-
installUI
- Overrides:
installUI
in classBasicMenuItemUI
-
paintBackground
paintBackground.
-
paintBackground
- Overrides:
paintBackground
in classBasicMenuItemUI
-
paintText
- Overrides:
paintText
in classBasicMenuItemUI
-
uninstallUI
- Overrides:
uninstallUI
in classBasicMenuItemUI
-
update
- Overrides:
update
in classBasicMenuItemUI
-