de.muntjak.tinylookandfeel
Class TinyCheckBoxIcon
java.lang.Object
javax.swing.plaf.metal.MetalCheckBoxIcon
de.muntjak.tinylookandfeel.TinyCheckBoxIcon
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.Icon, javax.swing.plaf.UIResource
public class TinyCheckBoxIcon
- extends javax.swing.plaf.metal.MetalCheckBoxIcon
TinyCheckBoxIcon
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.plaf.metal.MetalCheckBoxIcon |
drawCheck |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TinyCheckBoxIcon
public TinyCheckBoxIcon()
clearCache
public static void clearCache()
getControlSize
protected int getControlSize()
- Overrides:
getControlSize in class javax.swing.plaf.metal.MetalCheckBoxIcon
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
- Draws the check box icon at the specified location.
- Specified by:
paintIcon in interface javax.swing.Icon- Overrides:
paintIcon in class javax.swing.plaf.metal.MetalCheckBoxIcon
- 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.
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth in interface javax.swing.Icon- Overrides:
getIconWidth in class javax.swing.plaf.metal.MetalCheckBoxIcon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight in interface javax.swing.Icon- Overrides:
getIconHeight in class javax.swing.plaf.metal.MetalCheckBoxIcon