Package org.compiere.plaf
Class CompiereMenuBarUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.MenuBarUI
-
- javax.swing.plaf.basic.BasicMenuBarUI
-
- javax.swing.plaf.metal.MetalMenuBarUI
-
- org.compiere.plaf.CompiereMenuBarUI
-
public class CompiereMenuBarUI extends MetalMenuBarUI
Adempiere Menu Bar UI. Main Menu background- Version:
- $Id: AdempiereMenuBarUI.java,v 1.2 2006/07/30 00:52:24 jjanke Exp $
- Author:
- Jorg Janke
-
-
Field Summary
-
Fields inherited from class javax.swing.plaf.basic.BasicMenuBarUI
changeListener, containerListener, menuBar
-
-
Constructor Summary
Constructors Constructor Description CompiereMenuBarUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentUI
createUI(JComponent x)
Create own instancevoid
installUI(JComponent c)
Install UIvoid
update(Graphics g, JComponent c)
Update UI-
Methods inherited from class javax.swing.plaf.metal.MetalMenuBarUI
uninstallUI
-
Methods inherited from class javax.swing.plaf.basic.BasicMenuBarUI
createChangeListener, createContainerListener, getMaximumSize, getMinimumSize, installDefaults, installKeyboardActions, installListeners, uninstallDefaults, uninstallKeyboardActions, uninstallListeners
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getPreferredSize, paint
-
-
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent x)
Create own instance- Parameters:
x
-- Returns:
- AdempiereMenuBarUI
-
installUI
public void installUI(JComponent c)
Install UI- Overrides:
installUI
in classMetalMenuBarUI
- Parameters:
c
-
-
update
public void update(Graphics g, JComponent c)
Update UI- Overrides:
update
in classMetalMenuBarUI
- Parameters:
g
- graphicsc
- component
-
-