|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pushingpixels.substance.api.painter.fill.StandardFillPainter
org.pushingpixels.substance.api.painter.fill.ClassicFillPainter
public class ClassicFillPainter
Fill painter that returns images with classic appearance. This class is part of officially supported API.
Field Summary | |
---|---|
static ClassicFillPainter |
INSTANCE
Reusable instance of this painter. |
Constructor Summary | |
---|---|
ClassicFillPainter()
Creates a new classic gradient painter. |
Method Summary | |
---|---|
java.lang.String |
getDisplayName()
Returns the display name of this trait. |
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 |
---|
getBottomFillColor, getBottomShineColor, getMidFillColorBottom, getTopShineColor, paintContourBackground |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ClassicFillPainter INSTANCE
Constructor Detail |
---|
public ClassicFillPainter()
Method Detail |
---|
public java.lang.String getDisplayName()
SubstanceTrait
this
trait. This method is part
of officially supported API.
getDisplayName
in interface SubstanceTrait
getDisplayName
in class StandardFillPainter
this
trait.public java.awt.Color getTopFillColor(SubstanceColorScheme fillScheme)
StandardFillPainter
getTopFillColor
in class StandardFillPainter
fillScheme
- The fill scheme.
public java.awt.Color getMidFillColorTop(SubstanceColorScheme fillScheme)
StandardFillPainter
getMidFillColorTop
in class StandardFillPainter
fillScheme
- The fill scheme.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |