com.jtattoo.plaf.aluminium
Class AluminiumButtonUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.basic.BasicButtonUI
              extended by com.jtattoo.plaf.BaseButtonUI
                  extended by com.jtattoo.plaf.aluminium.AluminiumButtonUI

public class AluminiumButtonUI
extends BaseButtonUI

Author:
Michael Hagen

Field Summary
 
Fields inherited from class com.jtattoo.plaf.BaseButtonUI
iconRect, textRect, viewRect
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary
AluminiumButtonUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
           
protected  void paintBackground(Graphics g, AbstractButton b)
           
protected  void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
           
 
Methods inherited from class com.jtattoo.plaf.BaseButtonUI
createButtonListener, installDefaults, paint, paintText, uninstallDefaults
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, 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

AluminiumButtonUI

public AluminiumButtonUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

paintBackground

protected void paintBackground(Graphics g,
                               AbstractButton b)
Overrides:
paintBackground in class BaseButtonUI

paintFocus

protected void paintFocus(Graphics g,
                          AbstractButton b,
                          Rectangle viewRect,
                          Rectangle textRect,
                          Rectangle iconRect)
Overrides:
paintFocus in class BaseButtonUI


Copyright © 2011. All Rights Reserved.