net.beeger.squareness.util
Class SquarenessButtonPainter

java.lang.Object
  extended by net.beeger.squareness.util.SquarenessButtonPainter

public class SquarenessButtonPainter
extends java.lang.Object

Utility class used by UI delegates for all kinds of buttons.


Constructor Summary
SquarenessButtonPainter()
           
 
Method Summary
static void paintButton(java.awt.Graphics graphics, javax.swing.AbstractButton button)
          Paint a button.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquarenessButtonPainter

public SquarenessButtonPainter()
Method Detail

paintButton

public static void paintButton(java.awt.Graphics graphics,
                               javax.swing.AbstractButton button)
Paint a button.

Parameters:
graphics - The graphics object to be used for painting.
button - The button to paint