uic.themes
Class UICButtonUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.basic.BasicButtonUI
              extended by javax.swing.plaf.metal.MetalButtonUI
                  extended by uic.themes.UICToolBarButtonUI
                      extended by uic.themes.UICButtonUI

public class UICButtonUI
extends UICToolBarButtonUI

Needed to give the Button it's original behaviour back after adding the UICListUI for lists.


Field Summary
 
Fields inherited from class javax.swing.plaf.metal.MetalButtonUI
disabledTextColor, focusColor, selectColor
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary
UICButtonUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
           
protected  void paintButton(Graphics g, AbstractButton button)
          Paints the default non-pressed button
protected  void paintButtonPressed(Graphics g, AbstractButton button)
          Paints the focus non-pressed button
 
Methods inherited from class uic.themes.UICToolBarButtonUI
getDisabledTextColor, installDefaults, paint, paintFocus, paintIcon
 
Methods inherited from class javax.swing.plaf.metal.MetalButtonUI
createButtonListener, getFocusColor, getSelectColor, paintFocus, paintText, uninstallDefaults, update
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
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

UICButtonUI

public UICButtonUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

paintButton

protected void paintButton(Graphics g,
                           AbstractButton button)
Paints the default non-pressed button

Overrides:
paintButton in class UICToolBarButtonUI

paintButtonPressed

protected void paintButtonPressed(Graphics g,
                                  AbstractButton button)
Paints the focus non-pressed button

Overrides:
paintButtonPressed in class UICToolBarButtonUI


Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence