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 Details

    • SIZE

      private static final int SIZE
    • FOCUS_STROKE

      private static final Stroke FOCUS_STROKE
  • Constructor Details

    • RadioButtonIcon

      private RadioButtonIcon()
  • Method Details

    • getIconWidth

      public int getIconWidth()
      Specified by:
      getIconWidth in interface Icon
    • getIconHeight

      public int getIconHeight()
      Specified by:
      getIconHeight in interface Icon
    • paintIcon

      public void paintIcon(Component c, Graphics g, int x, int y)
      Specified by:
      paintIcon in interface Icon
    • drawBorder

      private static void drawBorder(Graphics2D g2, boolean enabled, int x, int y, int w, int h)
    • drawCheck

      private static void drawCheck(Graphics2D g2, Component c, boolean enabled, int x, int y, int w, int h)
    • drawFill

      private static void drawFill(Graphics2D g2, boolean pressed, int x, int y, int w, int h)
    • drawFocus

      private static void drawFocus(Graphics2D g2, int x, int y, int w, int h)