|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvnet.substance.api.painter.overlay.BottomShadowOverlayPainter
public final class BottomShadowOverlayPainter
Overlay painter that paints a few pixel-high drop shadow at the bottom edge of the relevant decoration area. This class is part of officially supported API.
| Method Summary | |
|---|---|
java.lang.String |
getDisplayName()
Returns the display name of this trait. |
static BottomShadowOverlayPainter |
getInstance()
Returns the single instance of this class. |
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 |
| Method Detail |
|---|
public static BottomShadowOverlayPainter getInstance()
public void paintOverlay(java.awt.Graphics2D graphics,
java.awt.Component comp,
DecorationAreaType decorationAreaType,
int width,
int height,
SubstanceSkin skin)
SubstanceOverlayPainter
paintOverlay in interface SubstanceOverlayPaintergraphics - 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()
SubstanceTraitthis trait. This method is part
of officially supported API.
getDisplayName in interface SubstanceTraitthis trait.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||