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 -
Method Summary
Modifier and TypeMethodDescriptiongetBottomFillColor
(SubstanceColorScheme fillScheme) Computes the color of the bottom portion of the fill.Returns the display name ofthis
trait.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 Details
-
INSTANCE
Singleton instance.
-
-
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 classSimplisticFillPainter
- 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 classSimplisticFillPainter
- Parameters:
fillScheme
- The fill scheme.- Returns:
- The color of the top portion of the fill.
-
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.
-