com.jtattoo.plaf.hifi
Class HiFiButtonUI

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.hifi.HiFiButtonUI

public class HiFiButtonUI
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
HiFiButtonUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
           
protected  void paintBackground(Graphics g, AbstractButton b)
           
protected  void paintText(Graphics g, AbstractButton b, Rectangle textRect)
           
 
Methods inherited from class com.jtattoo.plaf.BaseButtonUI
createButtonListener, installDefaults, paint, paintFocus, 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

HiFiButtonUI

public HiFiButtonUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

paintBackground

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

paintText

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


Copyright © 2011. All Rights Reserved.