Package com.jtattoo.plaf.base
Class BaseMenuUI
- Direct Known Subclasses:
GraphiteMenuUI,TextureMenuUI
BaseMenuUI class.
Author Michael Hagen-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class javax.swing.plaf.basic.BasicMenuUI
BasicMenuUI.ChangeHandler, BasicMenuUI.MouseInputHandler -
Field Summary
FieldsFields inherited from class javax.swing.plaf.basic.BasicMenuUI
changeListener, menuListenerFields 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 TypeMethodDescriptionprotected MouseInputListenerstatic ComponentUIprotected voidvoidprotected 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.BasicMenuUI
createChangeListener, createMenuDragMouseListener, createMenuKeyListener, createMenuListener, createPropertyChangeListener, getMaximumSize, getMinimumSize, getPropertyPrefix, installKeyboardActions, installListeners, setupPostTimer, uninstallDefaults, uninstallKeyboardActions, uninstallListenersMethods inherited from class javax.swing.plaf.basic.BasicMenuItemUI
doClick, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, paint, paintMenuItem, uninstallComponentsMethods 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:
createMouseInputListenerin classBasicMenuUI
-
installDefaults
protected void installDefaults()- Overrides:
installDefaultsin classBasicMenuUI
-
installUI
- Overrides:
installUIin classBasicMenuItemUI
-
paintBackground
paintBackground.
-
paintBackground
- Overrides:
paintBackgroundin classBasicMenuItemUI
-
paintText
- Overrides:
paintTextin classBasicMenuItemUI
-
uninstallUI
- Overrides:
uninstallUIin classBasicMenuItemUI
-
update
- Overrides:
updatein classBasicMenuItemUI
-