Class WaveDelegateFillPainter
- java.lang.Object
-
- org.pushingpixels.substance.extras.api.painterpack.fill.WaveDelegateFillPainter
-
- All Implemented Interfaces:
org.pushingpixels.substance.api.painter.fill.SubstanceFillPainter,org.pushingpixels.substance.api.trait.SubstanceTrait
- Direct Known Subclasses:
StandardWaveFillPainter
public abstract class WaveDelegateFillPainter extends java.lang.Object implements org.pushingpixels.substance.api.painter.fill.SubstanceFillPainterBase class for fill painters that overlay wave gradient on top of some other fill painter.This class is part of officially supported API. The implementation borrows heavily from this.
-
-
Constructor Summary
Constructors Constructor Description WaveDelegateFillPainter(java.lang.String painterName, org.pushingpixels.substance.api.colorscheme.ColorSchemeTransform transformation, org.pushingpixels.substance.api.painter.fill.SubstanceFillPainter delegate)Creates a new wave-overlaying painter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDisplayName()voidpaintContourBackground(java.awt.Graphics g, java.awt.Component comp, float width, float height, java.awt.Shape contour, boolean isFocused, org.pushingpixels.substance.api.colorscheme.SubstanceColorScheme fillScheme, boolean hasShine)
-
-
-
Constructor Detail
-
WaveDelegateFillPainter
public WaveDelegateFillPainter(java.lang.String painterName, org.pushingpixels.substance.api.colorscheme.ColorSchemeTransform transformation, org.pushingpixels.substance.api.painter.fill.SubstanceFillPainter delegate)Creates a new wave-overlaying painter.- Parameters:
painterName- Painter display name.transformation- Optional scheme transformation. Ifnull, the result will be identical to using the delegate painter.delegate- Delegate painter.
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayNamein interfaceorg.pushingpixels.substance.api.trait.SubstanceTrait
-
paintContourBackground
public void paintContourBackground(java.awt.Graphics g, java.awt.Component comp, float width, float height, java.awt.Shape contour, boolean isFocused, org.pushingpixels.substance.api.colorscheme.SubstanceColorScheme fillScheme, boolean hasShine)- Specified by:
paintContourBackgroundin interfaceorg.pushingpixels.substance.api.painter.fill.SubstanceFillPainter
-
-