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 voiddrawBorder(Graphics2D g2, boolean enabled, int x, int y, int width, int height) private static voiddrawCheck(Graphics2D g2, boolean enabled, int x, int y, int width, int height) private static voiddrawFill(Graphics2D g2, boolean pressed, int x, int y, int w, int h) private static voiddrawFocus(Graphics2D g2, int x, int y, int width, int height) intintvoid
-
Field Details
-
SIZE
private static final int SIZE
-
-
Constructor Details
-
CheckBoxIcon
private CheckBoxIcon()
-
-
Method Details
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-
paintIcon
-
drawBorder
-
drawCheck
-
drawFill
-
drawFocus
-