Class GlassFillPainter
- java.lang.Object
-
- org.pushingpixels.substance.api.painter.fill.StandardFillPainter
-
- org.pushingpixels.substance.api.painter.fill.GlassFillPainter
-
- All Implemented Interfaces:
SubstanceFillPainter,SubstanceTrait
public class GlassFillPainter extends StandardFillPainter
Fill painter that returns images with classic appearance. This class is part of officially supported API.
-
-
Constructor Summary
Constructors Constructor Description GlassFillPainter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorgetBottomFillColor(SubstanceColorScheme fillScheme)Computes the color of the bottom portion of the fill.StringgetDisplayName()Returns the display name ofthistrait.ColorgetMidFillColorBottom(SubstanceColorScheme fillScheme)Computes the color of the middle portion of the fill from the bottom.ColorgetMidFillColorTop(SubstanceColorScheme fillScheme)Computes the color of the middle portion of the fill from the top.ColorgetTopFillColor(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
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Description copied from interface:SubstanceTraitReturns the display name ofthistrait. This method is part of officially supported API.- Specified by:
getDisplayNamein interfaceSubstanceTrait- Overrides:
getDisplayNamein classStandardFillPainter- Returns:
- The display name of
thistrait.
-
getTopFillColor
public Color getTopFillColor(SubstanceColorScheme fillScheme)
Description copied from class:StandardFillPainterComputes the color of the top portion of the fill. Override to provide different visual.- Overrides:
getTopFillColorin classStandardFillPainter- Parameters:
fillScheme- The fill scheme.- Returns:
- The color of the top portion of the fill.
-
getMidFillColorTop
public Color getMidFillColorTop(SubstanceColorScheme fillScheme)
Description copied from class:StandardFillPainterComputes the color of the middle portion of the fill from the top. Override to provide different visual.- Overrides:
getMidFillColorTopin classStandardFillPainter- Parameters:
fillScheme- The fill scheme.- Returns:
- The color of the middle portion of the fill from the top.
-
getMidFillColorBottom
public Color getMidFillColorBottom(SubstanceColorScheme fillScheme)
Description copied from class:StandardFillPainterComputes the color of the middle portion of the fill from the bottom. Override to provide different visual.- Overrides:
getMidFillColorBottomin classStandardFillPainter- Parameters:
fillScheme- The fill scheme.- Returns:
- The color of the middle portion of the fill from the bottom.
-
getBottomFillColor
public Color getBottomFillColor(SubstanceColorScheme fillScheme)
Description copied from class:StandardFillPainterComputes the color of the bottom portion of the fill. Override to provide different visual.- Overrides:
getBottomFillColorin classStandardFillPainter- Parameters:
fillScheme- The fill scheme.- Returns:
- The color of the bottom portion of the fill.
-
-