Class SubduedFillPainter
- java.lang.Object
-
- org.pushingpixels.substance.api.painter.fill.StandardFillPainter
-
- org.pushingpixels.substance.api.painter.fill.SubduedFillPainter
-
- All Implemented Interfaces:
SubstanceFillPainter
,SubstanceTrait
public class SubduedFillPainter extends StandardFillPainter
Fill painter that returns images with subdued 3D gradient appearance. This class is part of officially supported API.
-
-
Constructor Summary
Constructors Constructor Description SubduedFillPainter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
Returns the display name ofthis
trait.Color
getTopFillColor(SubstanceColorScheme fillScheme)
Computes the color of the top portion of the fill.-
Methods inherited from class org.pushingpixels.substance.api.painter.fill.StandardFillPainter
getBottomFillColor, getBottomShineColor, getMidFillColorBottom, getMidFillColorTop, getTopShineColor, paintContourBackground
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Description copied from interface:SubstanceTrait
Returns the display name ofthis
trait. This method is part of officially supported API.- Specified by:
getDisplayName
in interfaceSubstanceTrait
- Overrides:
getDisplayName
in classStandardFillPainter
- Returns:
- The display name of
this
trait.
-
getTopFillColor
public Color getTopFillColor(SubstanceColorScheme fillScheme)
Description copied from class:StandardFillPainter
Computes the color of the top portion of the fill. Override to provide different visual.- Overrides:
getTopFillColor
in classStandardFillPainter
- Parameters:
fillScheme
- The fill scheme.- Returns:
- The color of the top portion of the fill.
-
-