com.jgoodies.looks.common
Class ExtBasicPopupMenuSeparatorUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.SeparatorUI
          extended byjavax.swing.plaf.basic.BasicSeparatorUI
              extended byjavax.swing.plaf.basic.BasicPopupMenuSeparatorUI
                  extended bycom.jgoodies.looks.common.ExtBasicPopupMenuSeparatorUI

public final class ExtBasicPopupMenuSeparatorUI
extends BasicPopupMenuSeparatorUI

Renders the separator in popup and pull-down menus. Unlike its superclass we use a setting for the insets and it uses a shared UI delegate.

Version:
$Revision: 1.3 $
Author:
Karsten Lentzsch

Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicSeparatorUI
highlight, shadow
 
Constructor Summary
ExtBasicPopupMenuSeparatorUI()
           
 
Method Summary
static ComponentUI createUI(JComponent b)
           
 Dimension getPreferredSize(JComponent c)
           
protected  void installDefaults(JSeparator s)
           
 void paint(Graphics g, JComponent c)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicSeparatorUI
getMaximumSize, getMinimumSize, installListeners, installUI, uninstallDefaults, 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

ExtBasicPopupMenuSeparatorUI

public ExtBasicPopupMenuSeparatorUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent b)

installDefaults

protected void installDefaults(JSeparator s)

paint

public void paint(Graphics g,
                  JComponent c)

getPreferredSize

public Dimension getPreferredSize(JComponent c)


Copyright © 2001-2005 JGoodies Karsten Lentzsch. All Rights Reserved.