Package com.jtattoo.plaf.texture
Class TextureMenuItemUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.MenuItemUI
javax.swing.plaf.basic.BasicMenuItemUI
com.jtattoo.plaf.BaseMenuItemUI
com.jtattoo.plaf.texture.TextureMenuItemUI
TextureMenuItemUI 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
protected void
paintBackground
(Graphics g, JComponent c, int x, int y, int w, int h) paintBackground.protected void
Methods inherited from class com.jtattoo.plaf.BaseMenuItemUI
installUI, paintBackground, uninstallUI, update
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
-
TextureMenuItemUI
public TextureMenuItemUI()
-
-
Method Details
-
createUI
-
paintBackground
paintBackground.
- Overrides:
paintBackground
in classBaseMenuItemUI
- Parameters:
g
- aGraphics
object.c
- aJComponent
object.x
- aInteger
object.y
- aInteger
object.w
- aInteger
object.h
- aInteger
object.
-
paintText
- Overrides:
paintText
in classBaseMenuItemUI
-