org.tentackle.plaf.tlooks
Class TLooksButtonUI

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 com.jgoodies.looks.plastic.PlasticButtonUI
                      extended by org.tentackle.plaf.tlooks.TLooksButtonUI

public class TLooksButtonUI
extends com.jgoodies.looks.plastic.PlasticButtonUI

UI for JButton/FormButton.

Author:
harald

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
TLooksButtonUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
           
protected  void installListeners(AbstractButton b)
           
protected  void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
          overridden to flash the focus-rectangle
protected  void uninstallListeners(AbstractButton b)
           
 
Methods inherited from class com.jgoodies.looks.plastic.PlasticButtonUI
installDefaults, is3D, isToolBarButton, update
 
Methods inherited from class javax.swing.plaf.metal.MetalButtonUI
createButtonListener, getDisabledTextColor, getFocusColor, getSelectColor, paintButtonPressed, paintText, uninstallDefaults
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installUI, paint, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, 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

TLooksButtonUI

public TLooksButtonUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installListeners

protected void installListeners(AbstractButton b)
Overrides:
installListeners in class BasicButtonUI

uninstallListeners

protected void uninstallListeners(AbstractButton b)
Overrides:
uninstallListeners in class BasicButtonUI

paintFocus

protected void paintFocus(Graphics g,
                          AbstractButton b,
                          Rectangle viewRect,
                          Rectangle textRect,
                          Rectangle iconRect)
overridden to flash the focus-rectangle

Overrides:
paintFocus in class com.jgoodies.looks.plastic.PlasticButtonUI


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de