com.jtattoo.plaf.hifi
Class HiFiToggleButtonUI

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.basic.BasicToggleButtonUI
                  extended by com.jtattoo.plaf.BaseToggleButtonUI
                      extended by com.jtattoo.plaf.hifi.HiFiToggleButtonUI

public class HiFiToggleButtonUI
extends BaseToggleButtonUI

Author:
Michael Hagen

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

HiFiToggleButtonUI

public HiFiToggleButtonUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

paintText

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


Copyright © 2011. All Rights Reserved.