Package com.jtattoo.plaf
Class BaseMenuItemUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.MenuItemUI
javax.swing.plaf.basic.BasicMenuItemUI
com.jtattoo.plaf.BaseMenuItemUI
- Direct Known Subclasses:
BaseCheckBoxMenuItemUI
,BaseRadioButtonMenuItemUI
,GraphiteMenuItemUI
,TextureMenuItemUI
BaseMenuItemUI class.
Author Michael Hagen-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicMenuItemUI
BasicMenuItemUI.MouseInputHandler
-
Field Summary
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 TypeMethodDescriptionstatic ComponentUI
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.BasicMenuItemUI
createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, createPropertyChangeListener, doClick, getMaximumSize, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, getPropertyPrefix, installComponents, installDefaults, installKeyboardActions, installListeners, paint, paintMenuItem, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior
-
Constructor Details
-
BaseMenuItemUI
public BaseMenuItemUI()
-
-
Method Details
-
createUI
-
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
-