|
|||||||||
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
org.pushingpixels.substance.api.painter.fill.MatteFillPainter
public class MatteFillPainter
Fill painter that returns images with matte appearance. This class is part of officially supported API.
Field Summary | |
---|---|
static MatteFillPainter |
INSTANCE
Reusable instance of this painter. |
Constructor Summary | |
---|---|
MatteFillPainter()
Creates a new matte fill painter. |
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 |
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, 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 MatteFillPainter INSTANCE
Constructor Detail |
---|
public MatteFillPainter()
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 ClassicFillPainter
this
trait.public java.awt.Color getTopFillColor(SubstanceColorScheme fillScheme)
StandardFillPainter
getTopFillColor
in class ClassicFillPainter
fillScheme
- The fill scheme.
public java.awt.Color getMidFillColorTop(SubstanceColorScheme fillScheme)
StandardFillPainter
getMidFillColorTop
in class ClassicFillPainter
fillScheme
- The fill scheme.
public java.awt.Color getBottomFillColor(SubstanceColorScheme fillScheme)
StandardFillPainter
getBottomFillColor
in class StandardFillPainter
fillScheme
- The fill scheme.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |