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 ofthistrait.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, getTopShineColorMethods inherited from class org.pushingpixels.substance.api.painter.fill.StandardFillPainter
getMidFillColorBottom, paintContourBackground
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Method Details
-
getDisplayName
Description copied from interface:SubstanceTraitReturns the display name ofthistrait. This method is part of officially supported API.- Specified by:
getDisplayNamein interfaceSubstanceTrait- Overrides:
getDisplayNamein classSimplisticFillPainter- Returns:
- The display name of
thistrait.
-
getTopFillColor
Description copied from class:StandardFillPainterComputes the color of the top portion of the fill. Override to provide different visual.- Overrides:
getTopFillColorin classSimplisticFillPainter- Parameters:
fillScheme- The fill scheme.- Returns:
- The color of the top portion of the fill.
-
getBottomFillColor
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.
-