Package com.jgoodies.looks.plastic
Class PlasticXPIconFactory.CheckBoxIcon
java.lang.Object
com.jgoodies.looks.plastic.PlasticXPIconFactory.CheckBoxIcon
- All Implemented Interfaces:
Serializable
,Icon
,UIResource
- Enclosing class:
PlasticXPIconFactory
private static final class PlasticXPIconFactory.CheckBoxIcon
extends Object
implements Icon, UIResource, Serializable
Paints the the icon and focus border for Plastic XP check boxes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
drawBorder
(Graphics2D g2, boolean enabled, int x, int y, int width, int height) private static void
drawCheck
(Graphics2D g2, boolean enabled, int x, int y, int width, int height) private static void
drawFill
(Graphics2D g2, boolean pressed, int x, int y, int w, int h) private static void
drawFocus
(Graphics2D g2, int x, int y, int width, int height) int
int
void
-
Field Details
-
SIZE
private static final int SIZE
-
-
Constructor Details
-
CheckBoxIcon
private CheckBoxIcon()
-
-
Method Details
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
paintIcon
-
drawBorder
-
drawCheck
-
drawFill
-
drawFocus
-