Package be.gaudry.swing.component
Class ColoredIcon
java.lang.Object
be.gaudry.swing.component.ColoredIcon
- All Implemented Interfaces:
Icon
Creates an icon with a color, used like for the JCheckBoxes
- Author:
- Steph GAUDRY
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
-
Field Details
-
width
public int width -
height
public int height -
color
-
-
Constructor Details
-
ColoredIcon
-
ColoredIcon
-
-
Method Details
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-