org.jvnet.substance.painter
Class SimplisticSoftBorderGradientPainter

java.lang.Object
  extended by org.jvnet.substance.painter.BaseGradientPainter
      extended by org.jvnet.substance.painter.StandardGradientPainter
          extended by org.jvnet.substance.painter.SimplisticGradientPainter
              extended by org.jvnet.substance.painter.SimplisticSoftBorderGradientPainter
All Implemented Interfaces:
SubstanceGradientPainter, SubstanceTrait
Direct Known Subclasses:
SimplisticSoftBorderReverseGradientPainter

public class SimplisticSoftBorderGradientPainter
extends SimplisticGradientPainter

Gradient painter that returns images with classic appearance. This class is for internal use only.

Author:
Kirill Grouchnikov

Field Summary
 
Fields inherited from class org.jvnet.substance.painter.BaseGradientPainter
borderPainter
 
Constructor Summary
SimplisticSoftBorderGradientPainter()
          Creates a new simplistic soft border gradient painter.
 
Method Summary
 SubstanceBorderPainter getBorderPainter()
          Returns the matching border painter.
 java.lang.String getDisplayName()
          Returns the display name of this trait.
 
Methods inherited from class org.jvnet.substance.painter.SimplisticGradientPainter
getBottomShineColor, getMidFillColorTop, getTopFillColor, getTopShineColor
 
Methods inherited from class org.jvnet.substance.painter.StandardGradientPainter
getBottomFillColor, getContourBackground, getMidFillColorBottom
 
Methods inherited from class org.jvnet.substance.painter.BaseGradientPainter
getMixContourBackground
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplisticSoftBorderGradientPainter

public SimplisticSoftBorderGradientPainter()
Creates a new simplistic soft border gradient painter.

Method Detail

getBorderPainter

public SubstanceBorderPainter getBorderPainter()
Description copied from class: BaseGradientPainter
Returns the matching border painter.

Overrides:
getBorderPainter in class BaseGradientPainter
Returns:
The matching border painter.

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 SubstanceGradientPainter
Specified by:
getDisplayName in interface SubstanceTrait
Overrides:
getDisplayName in class SimplisticGradientPainter
Returns:
The display name of this trait.