|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pushingpixels.substance.api.painter.highlight.ClassicHighlightPainter
public class ClassicHighlightPainter
Highlight painter that paints a classic gradient. This class is part of officially supported API.
Field Summary | |
---|---|
static java.lang.String |
DISPLAY_NAME
The display name for the highlight painters of this class. |
protected ClassicFillPainter |
painter
Single gradient painter instance. |
Constructor Summary | |
---|---|
ClassicHighlightPainter()
Creates new classic title painter. |
Method Summary | |
---|---|
java.lang.String |
getDisplayName()
Returns the display name of this trait. |
void |
paintHighlight(java.awt.Graphics2D graphics,
java.awt.Component comp,
int width,
int height,
SubstanceColorScheme colorScheme)
Paints the highlight. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DISPLAY_NAME
protected ClassicFillPainter painter
Constructor Detail |
---|
public ClassicHighlightPainter()
Method Detail |
---|
public java.lang.String getDisplayName()
SubstanceTrait
this
trait. This method is part
of officially supported API.
getDisplayName
in interface SubstanceTrait
this
trait.public void paintHighlight(java.awt.Graphics2D graphics, java.awt.Component comp, int width, int height, SubstanceColorScheme colorScheme)
SubstanceHighlightPainter
paintHighlight
in interface SubstanceHighlightPainter
graphics
- Graphics context.comp
- Component.width
- Width.height
- Height.colorScheme
- The color scheme for painting the highlight.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |