|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvnet.substance.api.painter.overlay.TopBezelOverlayPainter
public final class TopBezelOverlayPainter
Overlay painter that paints a bezel line at the top edge of the relevant decoration area. This class is part of officially supported API.
| Constructor Summary | |
|---|---|
TopBezelOverlayPainter(ColorSchemeSingleColorQuery colorSchemeQueryTop,
ColorSchemeSingleColorQuery colorSchemeQueryBottom)
Creates a new overlay painter that paints a bezel line at the top 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 TopBezelOverlayPainter(ColorSchemeSingleColorQuery colorSchemeQueryTop,
ColorSchemeSingleColorQuery colorSchemeQueryBottom)
colorSchemeQueryTop - Used to compute the color of the top line painted by this
overlay painter.colorSchemeQueryBottom - Used to compute the color of the top 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 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 | ||||||||