Package com.jtattoo.plaf.base
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.base.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIvoidprotected voidpaintBackground(Graphics g, JComponent c, int x, int y, int w, int h) paintBackground.protected voidpaintBackground(Graphics g, JMenuItem menuItem, Color bgColor) protected voidvoidvoidupdate(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, uninstallListenersMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior
-
Constructor Details
-
BaseMenuItemUI
public BaseMenuItemUI()
-
-
Method Details
-
createUI
-
installUI
- Overrides:
installUIin classBasicMenuItemUI
-
paintBackground
paintBackground.
-
paintBackground
- Overrides:
paintBackgroundin classBasicMenuItemUI
-
paintText
- Overrides:
paintTextin classBasicMenuItemUI
-
uninstallUI
- Overrides:
uninstallUIin classBasicMenuItemUI
-
update
- Overrides:
updatein classBasicMenuItemUI
-