edu.northwestern.at.utils.swing.plaf.smoothwindows
Class SmoothButtonUI

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.sun.java.swing.plaf.windows.WindowsButtonUI
                  extended by edu.northwestern.at.utils.swing.plaf.smoothwindows.SmoothButtonUI

public class SmoothButtonUI
extends com.sun.java.swing.plaf.windows.WindowsButtonUI

Smooth Button UI delegate. Responsible for drawing a button. Most UI delegates are similar to this one, the paint() method turns on anti-aliasing and the other methods are merely to install this delegate.


Field Summary
 
Fields inherited from class com.sun.java.swing.plaf.windows.WindowsButtonUI
dashedRectGapHeight, dashedRectGapWidth, dashedRectGapX, dashedRectGapY, focusColor
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary
SmoothButtonUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent jcomponent)
           
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
           
 
Methods inherited from class com.sun.java.swing.plaf.windows.WindowsButtonUI
getFocusColor, getPreferredSize, installDefaults, paintButtonPressed, paintFocus, paintText, uninstallDefaults
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, 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

SmoothButtonUI

public SmoothButtonUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent jcomponent)

paint

public void paint(java.awt.Graphics g,
                  javax.swing.JComponent c)
Overrides:
paint in class com.sun.java.swing.plaf.windows.WindowsButtonUI