|
|||||||||
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.internal.painter.SimplisticFillPainter
public class SimplisticFillPainter
Fill painter that returns images with simplistic appearance. This class is for internal use only.
Field Summary | |
---|---|
static SimplisticFillPainter |
INSTANCE
Reusable instance of this painter. |
Constructor Summary | |
---|---|
SimplisticFillPainter()
|
Method Summary | |
---|---|
java.awt.Color |
getBottomShineColor(SubstanceColorScheme fillScheme)
Computes the color of the bottom portion of the shine. |
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. |
java.awt.Color |
getTopShineColor(SubstanceColorScheme fillScheme)
Computes the color of the top portion of the shine. |
Methods inherited from class org.pushingpixels.substance.api.painter.fill.StandardFillPainter |
---|
getBottomFillColor, getMidFillColorBottom, paintContourBackground |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SimplisticFillPainter INSTANCE
Constructor Detail |
---|
public SimplisticFillPainter()
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.
public java.awt.Color getTopShineColor(SubstanceColorScheme fillScheme)
StandardFillPainter
getTopShineColor
in class StandardFillPainter
fillScheme
- The fill scheme.
public java.awt.Color getBottomShineColor(SubstanceColorScheme fillScheme)
StandardFillPainter
getBottomShineColor
in class StandardFillPainter
fillScheme
- The fill scheme.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |