org.kemet.lf.components
Class ComponentsKemet.CheckBoxIcon

java.lang.Object
  extended by org.kemet.lf.components.ComponentsKemet.CheckBoxIcon
All Implemented Interfaces:
javax.swing.Icon
Enclosing class:
ComponentsKemet

public static class ComponentsKemet.CheckBoxIcon
extends java.lang.Object
implements javax.swing.Icon

Since:
0.3
Author:
fabricemaupin

CheckBoxIcon : redefine the checkBoxIcon.


Constructor Summary
ComponentsKemet.CheckBoxIcon()
           
 
Method Summary
 int getIconHeight()
           return the height of icon.
 int getIconWidth()
           return the width of icon.
 void paintIcon(java.awt.Component component, java.awt.Graphics g, int x, int y)
           paint icon with news icons.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentsKemet.CheckBoxIcon

public ComponentsKemet.CheckBoxIcon()
Method Detail

paintIcon

public void paintIcon(java.awt.Component component,
                      java.awt.Graphics g,
                      int x,
                      int y)

paint icon with news icons.

Specified by:
paintIcon in interface javax.swing.Icon
Parameters:
component - current component
g - graphics area for current component
x - x coordinate
y - y coordinate
Since:
0.3

getIconWidth

public int getIconWidth()

return the width of icon.

Specified by:
getIconWidth in interface javax.swing.Icon
Returns:
return the width of icon
Since:
0.3

getIconHeight

public int getIconHeight()

return the height of icon.

Specified by:
getIconHeight in interface javax.swing.Icon
Returns:
return the height of icon
Since:
0.3


Copyright © 2008 F. MAUPIN. All Rights Reserved.