com.birosoft.liquid
Class LiquidCheckBoxIcon

java.lang.Object
  extended by com.birosoft.liquid.LiquidCheckBoxIcon
All Implemented Interfaces:
java.io.Serializable, javax.swing.Icon, javax.swing.plaf.UIResource

public class LiquidCheckBoxIcon
extends java.lang.Object
implements javax.swing.Icon, javax.swing.plaf.UIResource, java.io.Serializable

This class represents a check box icon.

See Also:
Serialized Form

Field Summary
protected static Skin skin
           
 
Constructor Summary
LiquidCheckBoxIcon()
           
 
Method Summary
protected  int getControlSize()
          Draws the check box icon at the specified location.
 int getIconHeight()
           
 int getIconWidth()
           
 Skin getSkin()
           
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

skin

protected static Skin skin
Constructor Detail

LiquidCheckBoxIcon

public LiquidCheckBoxIcon()
Method Detail

getControlSize

protected int getControlSize()
Draws the check box icon at the specified location.

Parameters:
c - The component to draw on.
g - The graphics context.
x - The x coordinate of the top left corner.
y - The y coordinate of the top left corner.

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface javax.swing.Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface javax.swing.Icon

getSkin

public Skin getSkin()