|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pushingpixels.substance.api.painter.overlay.BottomLineOverlayPainter
public final class BottomLineOverlayPainter
Overlay painter that paints a single line at the bottom edge of the relevant decoration area. This class is part of officially supported API.
Constructor Summary | |
---|---|
BottomLineOverlayPainter(ColorSchemeSingleColorQuery colorSchemeQuery)
Creates a new overlay painter that paints a single line at the bottom edge of the relevant decoration area |
Method Summary | |
---|---|
java.lang.String |
getDisplayName()
Returns the display name of this trait. |
void |
paintOverlay(java.awt.Graphics2D graphics,
java.awt.Component comp,
DecorationAreaType decorationAreaType,
int width,
int height,
SubstanceSkin skin)
Paints the overlay. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BottomLineOverlayPainter(ColorSchemeSingleColorQuery colorSchemeQuery)
colorSchemeQuery
- Used to compute the color of the line painted by this overlay
painter.Method Detail |
---|
public void paintOverlay(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
SubstanceOverlayPainter
paintOverlay
in interface SubstanceOverlayPainter
graphics
- Graphics context.comp
- Component.decorationAreaType
- Decoration area type. Must not be null
.width
- Width.height
- Height.skin
- Skin for painting the overlay.public java.lang.String getDisplayName()
SubstanceTrait
this
trait. This method is part
of officially supported API.
getDisplayName
in interface SubstanceTrait
this
trait.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |