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 SubstanceFillPainterINSTANCESingleton instance.
-
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.ColorgetTopFillColor(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: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
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 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: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.
-
-