Class GlassFillPainter
java.lang.Object
org.pushingpixels.substance.api.painter.fill.StandardFillPainter
org.pushingpixels.substance.api.painter.fill.GlassFillPainter
- All Implemented Interfaces:
SubstanceFillPainter
,SubstanceTrait
Fill painter that returns images with classic appearance. This class is part
of officially supported API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBottomFillColor
(SubstanceColorScheme fillScheme) Computes the color of the bottom portion of the fill.Returns the display name ofthis
trait.getMidFillColorBottom
(SubstanceColorScheme fillScheme) Computes the color of the middle portion of the fill from the bottom.getMidFillColorTop
(SubstanceColorScheme fillScheme) Computes the color of the middle portion of the fill from the top.getTopFillColor
(SubstanceColorScheme fillScheme) Computes the color of the top portion of the fill.Methods inherited from class org.pushingpixels.substance.api.painter.fill.StandardFillPainter
getBottomShineColor, getTopShineColor, paintContourBackground
-
Constructor Details
-
GlassFillPainter
public GlassFillPainter()
-
-
Method Details
-
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
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.
-
getMidFillColorTop
Description copied from class:StandardFillPainter
Computes the color of the middle portion of the fill from the top. Override to provide different visual.- Overrides:
getMidFillColorTop
in classStandardFillPainter
- Parameters:
fillScheme
- The fill scheme.- Returns:
- The color of the middle portion of the fill from the top.
-
getMidFillColorBottom
Description copied from class:StandardFillPainter
Computes the color of the middle portion of the fill from the bottom. Override to provide different visual.- Overrides:
getMidFillColorBottom
in classStandardFillPainter
- Parameters:
fillScheme
- The fill scheme.- Returns:
- The color of the middle portion of the fill from the bottom.
-
getBottomFillColor
Description copied from class:StandardFillPainter
Computes the color of the bottom portion of the fill. Override to provide different visual.- Overrides:
getBottomFillColor
in classStandardFillPainter
- Parameters:
fillScheme
- The fill scheme.- Returns:
- The color of the bottom portion of the fill.
-