net.sourceforge.mlf.metouia
Class MetouiaMenuUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.ButtonUI
          extended byjavax.swing.plaf.MenuItemUI
              extended byjavax.swing.plaf.basic.BasicMenuItemUI
                  extended byjavax.swing.plaf.basic.BasicMenuUI
                      extended bynet.sourceforge.mlf.metouia.MetouiaMenuUI

public class MetouiaMenuUI
extends javax.swing.plaf.basic.BasicMenuUI

This class represents the UI delegate for the JMenu component.


Nested Class Summary
 
Nested classes inherited from class javax.swing.plaf.basic.BasicMenuUI
javax.swing.plaf.basic.BasicMenuUI.ChangeHandler, javax.swing.plaf.basic.BasicMenuUI.MouseInputHandler
 
Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicMenuUI
changeListener, menuListener, propertyChangeListener
 
Fields inherited from class javax.swing.plaf.basic.BasicMenuItemUI
acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, selectionBackground, selectionForeground
 
Constructor Summary
MetouiaMenuUI()
           
 
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.BasicMenuUI
createChangeListener, createMenuDragMouseListener, createMenuKeyListener, createMenuListener, createMouseInputListener, createPropertyChangeListener, getMaximumSize, getPropertyPrefix, installDefaults, installKeyboardActions, installListeners, setupPostTimer, uninstallDefaults, uninstallKeyboardActions, uninstallListeners
 
Methods inherited from class javax.swing.plaf.basic.BasicMenuItemUI
doClick, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, installUI, paintBackground, paintMenuItem, paintText, uninstallComponents, uninstallUI, update
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetouiaMenuUI

public MetouiaMenuUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Creates the UI delegate for the given component.

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.