org.pushingpixels.substance.api.painter.fill
Class GlassFillPainter

java.lang.Object
  extended by org.pushingpixels.substance.api.painter.fill.StandardFillPainter
      extended by org.pushingpixels.substance.api.painter.fill.GlassFillPainter
All Implemented Interfaces:
SubstanceFillPainter, SubstanceTrait

public class GlassFillPainter
extends StandardFillPainter

Fill painter that returns images with classic appearance. This class is part of officially supported API.


Constructor Summary
GlassFillPainter()
           
 
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 getMidFillColorBottom(SubstanceColorScheme fillScheme)
          Computes the color of the middle portion of the fill from the bottom.
 java.awt.Color getMidFillColorTop(SubstanceColorScheme fillScheme)
          Computes the color of the middle portion of the fill from the top.
 java.awt.Color getTopFillColor(SubstanceColorScheme fillScheme)
          Computes the color of the top portion of the fill.
 
Methods inherited from class org.pushingpixels.substance.api.painter.fill.StandardFillPainter
getBottomShineColor, getTopShineColor, paintContourBackground
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlassFillPainter

public GlassFillPainter()
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 StandardFillPainter
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 StandardFillPainter
Parameters:
fillScheme - The fill scheme.
Returns:
The color of the top portion of the fill.

getMidFillColorTop

public java.awt.Color getMidFillColorTop(SubstanceColorScheme fillScheme)
Description copied from class: StandardFillPainter
Computes the color of the middle portion of the fill from the top. Override to provide different visual.

Overrides:
getMidFillColorTop in class StandardFillPainter
Parameters:
fillScheme - The fill scheme.
Returns:
The color of the middle portion of the fill from the top.

getMidFillColorBottom

public java.awt.Color getMidFillColorBottom(SubstanceColorScheme fillScheme)
Description copied from class: StandardFillPainter
Computes the color of the middle portion of the fill from the bottom. Override to provide different visual.

Overrides:
getMidFillColorBottom in class StandardFillPainter
Parameters:
fillScheme - The fill scheme.
Returns:
The color of the middle portion of the fill from the bottom.

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.