Class SynthToggleButtonPainter
java.lang.Object
de.javasoft.plaf.synthetica.painter.SyntheticaComponentPainter
de.javasoft.plaf.synthetica.painter.ToggleButtonPainter
com.inductiveautomation.ignition.client.util.gui.painters.SynthToggleButtonPainter
- All Implemented Interfaces:
- de.javasoft.plaf.synthetica.painter.Cacheable
public class SynthToggleButtonPainter
extends de.javasoft.plaf.synthetica.painter.ToggleButtonPainter
A Synthetica 
ToggleButtonPainter so we can set the Synthetica.background client prop before
 painting the background if the user has applied a background color with no alpha. It also account for the buttons
 SyntheticaState- 
Nested Class SummaryNested classes/interfaces inherited from interface de.javasoft.plaf.synthetica.painter.Cacheablede.javasoft.plaf.synthetica.painter.Cacheable.ScaleType
- 
Field SummaryFields inherited from class de.javasoft.plaf.synthetica.painter.ToggleButtonPainterUI_KEYFields inherited from class de.javasoft.plaf.synthetica.painter.SyntheticaComponentPainterinstances
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidpaintToggleButtonBackground(JComponent c, de.javasoft.plaf.synthetica.SyntheticaState state, String segmentPosition, Graphics g, int x, int y, int w, int h) Methods inherited from class de.javasoft.plaf.synthetica.painter.ToggleButtonPainterdrawButton, getCacheHash, getInstance, getInstance, paintCheck, paintCheckContentBorder, paintFocus, paintToggleButtonBackground, paintToggleButtonBorderMethods inherited from class de.javasoft.plaf.synthetica.painter.SyntheticaComponentPainterblend, calcRelativeArc, calcRelativeGradientPos, calcRelativeLength, calcRelativePos, createAlphaColor, createLinearGradientPaint, createStroke, getCacheScaleInsets, getCacheScaleType, getImageInsets, getImageInsets, getInstance, getPainterClassName, getScale, getSyntheticaBackgroundBlendMode, getSyntheticaBackgroundColor, prepareGraphics2D, prepareGraphics2D, prepareGraphics2D, prepareGraphics2D, prepareGraphics2D, resolveImagePath, restoreGraphics2D, scaleArc, subtractStroke
- 
Constructor Details- 
SynthToggleButtonPainterpublic SynthToggleButtonPainter()
 
- 
- 
Method Details- 
paintToggleButtonBackgroundpublic void paintToggleButtonBackground(JComponent c, de.javasoft.plaf.synthetica.SyntheticaState state, String segmentPosition, Graphics g, int x, int y, int w, int h) - Overrides:
- paintToggleButtonBackgroundin class- de.javasoft.plaf.synthetica.painter.ToggleButtonPainter
 
 
-