Package com.jgoodies.looks.plastic
Class PlasticXPIconFactory.RadioButtonIcon
java.lang.Object
com.jgoodies.looks.plastic.PlasticXPIconFactory.RadioButtonIcon
- All Implemented Interfaces:
Serializable,Icon,UIResource
- Enclosing class:
- PlasticXPIconFactory
private static final class PlasticXPIconFactory.RadioButtonIcon
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 w, int h) private static voiddrawCheck(Graphics2D g2, Component c, boolean enabled, int x, int y, int w, int h) 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 w, int h) intintvoid
-
Field Details
-
SIZE
private static final int SIZE -
FOCUS_STROKE
-
-
Constructor Details
-
RadioButtonIcon
private RadioButtonIcon()
-
-
Method Details
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-
paintIcon
-
drawBorder
-
drawCheck
private static void drawCheck(Graphics2D g2, Component c, boolean enabled, int x, int y, int w, int h) -
drawFill
-
drawFocus
-