com.birosoft.liquid
Class LiquidMenuUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.MenuItemUI
              extended by com.birosoft.liquid.LiquidMenuItemUI
                  extended by com.birosoft.liquid.LiquidMenuUI

public class LiquidMenuUI
extends LiquidMenuItemUI

A default L&F implementation of MenuUI. This implementation is a "combined" view/controller.


Nested Class Summary
 class LiquidMenuUI.ChangeHandler
          As of Java 2 platform 1.4, this previously undocumented class is now obsolete.
protected  class LiquidMenuUI.MouseInputHandler
          Instantiated and used by a menu item to handle the current menu selection from mouse events.
 
Nested classes/interfaces inherited from class com.birosoft.liquid.LiquidMenuItemUI
LiquidMenuItemUI.EmptyIcon
 
Field Summary
protected  javax.swing.event.ChangeListener changeListener
           
protected  javax.swing.event.MenuListener menuListener
           
protected  java.beans.PropertyChangeListener propertyChangeListener
           
 
Fields inherited from class com.birosoft.liquid.LiquidMenuItemUI
acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultIconGap, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, selArrowIcon, selectionBackground, selectionForeground
 
Constructor Summary
LiquidMenuUI()
           
 
Method Summary
protected  javax.swing.event.ChangeListener createChangeListener(javax.swing.JComponent c)
           
protected  javax.swing.event.MenuDragMouseListener createMenuDragMouseListener(javax.swing.JComponent c)
           
protected  javax.swing.event.MenuKeyListener createMenuKeyListener(javax.swing.JComponent c)
           
protected  javax.swing.event.MenuListener createMenuListener(javax.swing.JComponent c)
           
protected  javax.swing.event.MouseInputListener createMouseInputListener(javax.swing.JComponent c)
           
protected  java.beans.PropertyChangeListener createPropertyChangeListener(javax.swing.JComponent c)
           
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
           
 java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
           
protected  java.lang.String getPropertyPrefix()
           
protected  void installDefaults()
           
protected  void installKeyboardActions()
           
protected  void installListeners()
           
 void installUI(javax.swing.JComponent c)
           
protected  void setupPostTimer(javax.swing.JMenu menu)
           
protected  void uninstallDefaults()
           
protected  void uninstallKeyboardActions()
           
protected  void uninstallListeners()
           
 
Methods inherited from class com.birosoft.liquid.LiquidMenuItemUI
doClick, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, paint, paintBackground, paintMenuItem, paintText, uninstallComponents, uninstallUI, update
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changeListener

protected javax.swing.event.ChangeListener changeListener

propertyChangeListener

protected java.beans.PropertyChangeListener propertyChangeListener

menuListener

protected javax.swing.event.MenuListener menuListener
Constructor Detail

LiquidMenuUI

public LiquidMenuUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)

installUI

public void installUI(javax.swing.JComponent c)
Overrides:
installUI in class LiquidMenuItemUI

installDefaults

protected void installDefaults()
Overrides:
installDefaults in class LiquidMenuItemUI

getPropertyPrefix

protected java.lang.String getPropertyPrefix()
Overrides:
getPropertyPrefix in class LiquidMenuItemUI

installListeners

protected void installListeners()
Overrides:
installListeners in class LiquidMenuItemUI

installKeyboardActions

protected void installKeyboardActions()
Overrides:
installKeyboardActions in class LiquidMenuItemUI

uninstallKeyboardActions

protected void uninstallKeyboardActions()
Overrides:
uninstallKeyboardActions in class LiquidMenuItemUI

createMouseInputListener

protected javax.swing.event.MouseInputListener createMouseInputListener(javax.swing.JComponent c)
Overrides:
createMouseInputListener in class LiquidMenuItemUI

createMenuListener

protected javax.swing.event.MenuListener createMenuListener(javax.swing.JComponent c)

createChangeListener

protected javax.swing.event.ChangeListener createChangeListener(javax.swing.JComponent c)

createPropertyChangeListener

protected java.beans.PropertyChangeListener createPropertyChangeListener(javax.swing.JComponent c)

uninstallDefaults

protected void uninstallDefaults()
Overrides:
uninstallDefaults in class LiquidMenuItemUI

uninstallListeners

protected void uninstallListeners()
Overrides:
uninstallListeners in class LiquidMenuItemUI

createMenuDragMouseListener

protected javax.swing.event.MenuDragMouseListener createMenuDragMouseListener(javax.swing.JComponent c)
Overrides:
createMenuDragMouseListener in class LiquidMenuItemUI

createMenuKeyListener

protected javax.swing.event.MenuKeyListener createMenuKeyListener(javax.swing.JComponent c)
Overrides:
createMenuKeyListener in class LiquidMenuItemUI

getMaximumSize

public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
Overrides:
getMaximumSize in class LiquidMenuItemUI

setupPostTimer

protected void setupPostTimer(javax.swing.JMenu menu)