Class SynthProgressBarPainter
java.lang.Object
de.javasoft.plaf.synthetica.painter.SyntheticaComponentPainter
de.javasoft.plaf.synthetica.painter.ProgressBarPainter
com.inductiveautomation.ignition.client.util.gui.painters.SynthProgressBarPainter
- All Implemented Interfaces:
de.javasoft.plaf.synthetica.painter.Cacheable
public class SynthProgressBarPainter
extends de.javasoft.plaf.synthetica.painter.ProgressBarPainter
A Synthetica
ProgressBarPainter so we can set the Synthetica.background client prop before
painting the progress bar foreground. This is necessary since ImagePainter always looks at this client
prop, otherwise it just uses the background value which matches the progress bar 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.ProgressBarPainter
UI_KEYFields inherited from class de.javasoft.plaf.synthetica.painter.SyntheticaComponentPainter
instances -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpaintProgressBarForeground(SynthContext sc, Graphics g, int x, int y, int w, int h, int orient) Methods inherited from class de.javasoft.plaf.synthetica.painter.ProgressBarPainter
getCacheHash, getInstance, getInstance, isBorderPainted, paintProgressBarBackground, paintProgressBarBackground, paintProgressBarBorderMethods 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
-
Constructor Details
-
SynthProgressBarPainter
public SynthProgressBarPainter()
-
-
Method Details
-
paintProgressBarForeground
public void paintProgressBarForeground(SynthContext sc, Graphics g, int x, int y, int w, int h, int orient) - Overrides:
paintProgressBarForegroundin classde.javasoft.plaf.synthetica.painter.ProgressBarPainter
-