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.ToggleButtonPainterA SyntheticaToggleButtonPainterso we can set theSynthetica.backgroundclient prop before painting the background if the user has applied a background color with no alpha. It also account for the buttonsSyntheticaState 
- 
- 
Constructor Summary
Constructors Constructor Description SynthToggleButtonPainter() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpaintToggleButtonBackground(javax.swing.JComponent c, de.javasoft.plaf.synthetica.SyntheticaState state, java.lang.String segmentPosition, java.awt.Graphics g, int x, int y, int w, int h)- 
Methods inherited from class de.javasoft.plaf.synthetica.painter.ToggleButtonPainter
drawButton, getCacheHash, getInstance, getInstance, paintCheck, paintCheckContentBorder, paintFocus, paintToggleButtonBackground, paintToggleButtonBorder 
- 
Methods inherited from class de.javasoft.plaf.synthetica.painter.SyntheticaComponentPainter
blend, 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 
 - 
 
 - 
 
- 
- 
Method Detail
- 
paintToggleButtonBackground
public void paintToggleButtonBackground(javax.swing.JComponent c, de.javasoft.plaf.synthetica.SyntheticaState state, java.lang.String segmentPosition, java.awt.Graphics g, int x, int y, int w, int h)- Overrides:
 paintToggleButtonBackgroundin classde.javasoft.plaf.synthetica.painter.ToggleButtonPainter
 
 - 
 
 -