com.birosoft.liquid
Class LiquidMenuBarUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.MenuBarUI
          extended by javax.swing.plaf.basic.BasicMenuBarUI
              extended by com.birosoft.liquid.LiquidMenuBarUI

public class LiquidMenuBarUI
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
LiquidMenuBarUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Creates the UI delegate for the given component.
 Skin getSkin()
           
 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, installDefaults, installKeyboardActions, installListeners, installUI, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getPreferredSize, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiquidMenuBarUI

public LiquidMenuBarUI()
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.

Overrides:
paint in class javax.swing.plaf.ComponentUI
Parameters:
g - The graphics context to use.
c - The component to paint.

getSkin

public Skin getSkin()