Package com.jgoodies.looks.plastic
Class PlasticXPIconFactory.RadioButtonIcon
- java.lang.Object
-
- com.jgoodies.looks.plastic.PlasticXPIconFactory.RadioButtonIcon
-
- All Implemented Interfaces:
java.io.Serializable,javax.swing.Icon,javax.swing.plaf.UIResource
- Enclosing class:
- PlasticXPIconFactory
private static final class PlasticXPIconFactory.RadioButtonIcon extends java.lang.Object implements javax.swing.Icon, javax.swing.plaf.UIResource, java.io.SerializablePaints the the icon and focus border for Plastic XP check boxes.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.awt.StrokeFOCUS_STROKEprivate static intSIZE
-
Constructor Summary
Constructors Modifier Constructor Description privateRadioButtonIcon()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static voiddrawBorder(java.awt.Graphics2D g2, boolean enabled, int x, int y, int w, int h)private static voiddrawCheck(java.awt.Graphics2D g2, java.awt.Component c, boolean enabled, int x, int y, int w, int h)private static voiddrawFill(java.awt.Graphics2D g2, boolean pressed, int x, int y, int w, int h)private static voiddrawFocus(java.awt.Graphics2D g2, int x, int y, int w, int h)intgetIconHeight()intgetIconWidth()voidpaintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
-
-
-
Method Detail
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidthin interfacejavax.swing.Icon
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeightin interfacejavax.swing.Icon
-
paintIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)- Specified by:
paintIconin interfacejavax.swing.Icon
-
drawBorder
private static void drawBorder(java.awt.Graphics2D g2, boolean enabled, int x, int y, int w, int h)
-
drawCheck
private static void drawCheck(java.awt.Graphics2D g2, java.awt.Component c, boolean enabled, int x, int y, int w, int h)
-
drawFill
private static void drawFill(java.awt.Graphics2D g2, boolean pressed, int x, int y, int w, int h)
-
drawFocus
private static void drawFocus(java.awt.Graphics2D g2, int x, int y, int w, int h)
-
-