org.compiere.plaf
Class CompiereMenuItemUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.MenuItemUI
javax.swing.plaf.basic.BasicMenuItemUI
org.compiere.plaf.CompiereMenuItemUI
public class CompiereMenuItemUI
- extends BasicMenuItemUI
Menu Item UI
- Version:
- $Id: CompiereMenuItemUI.java,v 1.2 2006/07/30 00:52:24 jjanke Exp $
- Author:
- Jorg Janke
| Fields inherited from class javax.swing.plaf.basic.BasicMenuItemUI |
acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground |
| 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, paintText, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompiereMenuItemUI
public CompiereMenuItemUI()
createUI
public static ComponentUI createUI(JComponent c)
- Create own instance
- Parameters:
c - compoment
- Returns:
- CompiereMenuBarUI
installUI
public void installUI(JComponent c)
- Install UI
- Overrides:
installUI in class BasicMenuItemUI
- Parameters:
c -
update
public void update(Graphics g,
JComponent c)
- Update UI
- Overrides:
update in class BasicMenuItemUI
- Parameters:
g - graphicsc - component
paintBackground
protected void paintBackground(Graphics g,
JMenuItem menuItem,
Color bgColor)
- Paint Background
- Overrides:
paintBackground in class BasicMenuItemUI
- Parameters:
g - graphicsmenuItem - menubgColor - bg color
Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.