Class SynthRadioButtonPainter

  • All Implemented Interfaces:
    de.javasoft.plaf.synthetica.painter.Cacheable

    public class SynthRadioButtonPainter
    extends de.javasoft.plaf.synthetica.painter.RadioButtonPainter
    A Synthetica RadioButtonPainter so we can set the Synthetica.background client prop before painting the selector. This is necessary since ImagePainter always looks at this client prop, otherwise it just uses the background value which matches the radio button background.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface de.javasoft.plaf.synthetica.painter.Cacheable

        de.javasoft.plaf.synthetica.painter.Cacheable.ScaleType
    • Field Summary

      • Fields inherited from class de.javasoft.plaf.synthetica.painter.RadioButtonPainter

        UI_KEY
      • Fields inherited from class de.javasoft.plaf.synthetica.painter.SyntheticaComponentPainter

        instances
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void paintRadioButtonBackground​(javax.swing.plaf.synth.SynthContext sc, java.awt.Graphics g, int x, int y, int w, int h)  
      • Methods inherited from class de.javasoft.plaf.synthetica.painter.RadioButtonPainter

        getInstance, getInstance, paintRadioButtonBorder
      • Methods inherited from class de.javasoft.plaf.synthetica.painter.SyntheticaComponentPainter

        calcRelativeArc, calcRelativeGradientPos, calcRelativeLength, calcRelativePos, createAlphaColor, createLinearGradientPaint, createStroke, getCacheHash, getCacheScaleInsets, getCacheScaleType, getImageInsets, getImageInsets, getInstance, getPainterClassName, getScale, getSyntheticaBackgroundColor, prepareGraphics2D, prepareGraphics2D, prepareGraphics2D, prepareGraphics2D, prepareGraphics2D, resolveImagePath, restoreGraphics2D, scaleArc, subtractStroke
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SynthRadioButtonPainter

        public SynthRadioButtonPainter()
    • Method Detail

      • paintRadioButtonBackground

        public void paintRadioButtonBackground​(javax.swing.plaf.synth.SynthContext sc,
                                               java.awt.Graphics g,
                                               int x,
                                               int y,
                                               int w,
                                               int h)
        Overrides:
        paintRadioButtonBackground in class de.javasoft.plaf.synthetica.painter.RadioButtonPainter