Class SubstanceImageCreator.SimplisticSoftBorderReverseFillPainter
- java.lang.Object
-
- org.pushingpixels.substance.api.painter.fill.StandardFillPainter
-
- org.pushingpixels.substance.internal.painter.SimplisticFillPainter
-
- org.pushingpixels.substance.internal.utils.SubstanceImageCreator.SimplisticSoftBorderReverseFillPainter
-
- All Implemented Interfaces:
SubstanceFillPainter
,SubstanceTrait
- Enclosing class:
- SubstanceImageCreator
public static class SubstanceImageCreator.SimplisticSoftBorderReverseFillPainter extends SimplisticFillPainter
Custom fill painter for filling the checkmarks of checkboxes and radio buttons.
-
-
Field Summary
Fields Modifier and Type Field Description static SubstanceFillPainter
INSTANCE
Singleton instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getBottomFillColor(SubstanceColorScheme fillScheme)
Computes the color of the bottom portion of the fill.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.internal.painter.SimplisticFillPainter
getBottomShineColor, getMidFillColorTop, getTopShineColor
-
Methods inherited from class org.pushingpixels.substance.api.painter.fill.StandardFillPainter
getMidFillColorBottom, paintContourBackground
-
-
-
-
Field Detail
-
INSTANCE
public static final SubstanceFillPainter INSTANCE
Singleton instance.
-
-
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 classSimplisticFillPainter
- 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 classSimplisticFillPainter
- Parameters:
fillScheme
- The fill scheme.- Returns:
- The color of the top portion of the fill.
-
getBottomFillColor
public Color getBottomFillColor(SubstanceColorScheme fillScheme)
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.
-
-