net.sourceforge.mlf.metouia
Class MetouiaMenuBarUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.MenuBarUI
          extended byjavax.swing.plaf.basic.BasicMenuBarUI
              extended bynet.sourceforge.mlf.metouia.MetouiaMenuBarUI

public class MetouiaMenuBarUI
extends javax.swing.plaf.basic.BasicMenuBarUI

This class represents the UI delegate for the JMenuBar component.


Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicMenuBarUI
changeListener, containerListener, menuBar
 
Constructor Summary
MetouiaMenuBarUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Creates the UI delegate for the given component.
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
          Paints the given component.
 
Methods inherited from class javax.swing.plaf.basic.BasicMenuBarUI
createChangeListener, createContainerListener, getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installKeyboardActions, installListeners, installUI, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetouiaMenuBarUI

public MetouiaMenuBarUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Creates the UI delegate for the given component. Because in normal application there is usually only one menu bar, the UI delegate isn't cached here.

Parameters:
c - The component to create its UI delegate.
Returns:
The UI delegate for the given component.

paint

public void paint(java.awt.Graphics g,
                  javax.swing.JComponent c)
Paints the given component.

Parameters:
g - The graphics context to use.
c - The component to paint.