org.pushingpixels.substance.internal.utils
Class SubstanceImageCreator.SimplisticSoftBorderReverseFillPainter

java.lang.Object
  extended by org.pushingpixels.substance.api.painter.fill.StandardFillPainter
      extended by org.pushingpixels.substance.internal.painter.SimplisticFillPainter
          extended by 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
static SubstanceFillPainter INSTANCE
          Singleton instance.
 
Method Summary
 java.awt.Color getBottomFillColor(SubstanceColorScheme fillScheme)
          Computes the color of the bottom portion of the fill.
 java.lang.String getDisplayName()
          Returns the display name of this trait.
 java.awt.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final SubstanceFillPainter INSTANCE
Singleton instance.

Method Detail

getDisplayName

public java.lang.String getDisplayName()
Description copied from interface: SubstanceTrait
Returns the display name of this trait. This method is part of officially supported API.

Specified by:
getDisplayName in interface SubstanceTrait
Overrides:
getDisplayName in class SimplisticFillPainter
Returns:
The display name of this trait.

getTopFillColor

public java.awt.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 class SimplisticFillPainter
Parameters:
fillScheme - The fill scheme.
Returns:
The color of the top portion of the fill.

getBottomFillColor

public java.awt.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 class StandardFillPainter
Parameters:
fillScheme - The fill scheme.
Returns:
The color of the bottom portion of the fill.