| java.lang.Object org.jvnet.substance.painter.BaseGradientPainter org.jvnet.substance.painter.WaveDelegateGradientPainter
All known Subclasses: org.jvnet.substance.painter.GradientWaveGradientPainter, org.jvnet.substance.painter.SpecularWaveGradientPainter,
WaveDelegateGradientPainter | abstract public class WaveDelegateGradientPainter extends BaseGradientPainter (Code) | | Base class for gradient painters that overlays wave gradient on top of some
other gradient painter.This class is part of officially supported API. The
implementation borrows heavily from this.
author: Kirill Grouchnikov. author: Chris Campbell. |
Inner Class :public static interface ColorSchemeTransformation | |
Constructor Summary | |
public | WaveDelegateGradientPainter(String painterName, ColorSchemeTransformation transformation, SubstanceGradientPainter delegate) Creates a new wave-overlaying painter.
Parameters: painterName - Painter display name. Parameters: transformation - Optional scheme transformation. |
painterName | protected String painterName(Code) | | Display name of this painter.
|
transformation | protected ColorSchemeTransformation transformation(Code) | | Optional scheme transformation - may be null .
|
WaveDelegateGradientPainter | public WaveDelegateGradientPainter(String painterName, ColorSchemeTransformation transformation, SubstanceGradientPainter delegate)(Code) | | Creates a new wave-overlaying painter.
Parameters: painterName - Painter display name. Parameters: transformation - Optional scheme transformation. If null , theresult will be identical to using the delegate painter. Parameters: delegate - Delegate painter. |
getContourBackground | public BufferedImage getContourBackground(int width, int height, Shape contour, boolean isFocused, ColorScheme colorScheme1, ColorScheme colorScheme2, float cyclePos, boolean hasShine, boolean useCyclePosAsInterpolation)(Code) | | |
Methods inherited from org.jvnet.substance.painter.BaseGradientPainter | protected BufferedImage getMixContourBackground(int width, int height, Shape contour, boolean isFocused, ColorScheme colorScheme1, ColorScheme colorScheme2, float cyclePos, boolean hasShine, boolean useCyclePosAsInterpolation)(Code)(Java Doc)
|
|
|