|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bff.musicjukebox.ui.components.WatermarkPainter
com.bff.musicjukebox.ui.components.AnimPainter
public class AnimPainter
An extension of WatermarkPainter that
animates a waving Duke in the bottom right corner
of the component.
| Constructor Summary | |
|---|---|
AnimPainter()
|
|
| Method Summary | |
|---|---|
void |
paint(java.awt.Graphics g)
Paint onto the graphics object indicated by the parameter. |
void |
start()
Starts any animation that this painter might perform. |
void |
stop()
Stops any animation that this painter might be performing. |
| Methods inherited from class com.bff.musicjukebox.ui.components.WatermarkPainter |
|---|
actionPerformed, getCommands, getComponent, getImage, hierarchyChanged, loadImage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnimPainter()
| Method Detail |
|---|
public void paint(java.awt.Graphics g)
WatermarkPaintergetComponent for size
information. The component returned is
guaranteed to be non-null as setComponent
will always be called with a non-null component
before any painting is done.
paint in class WatermarkPainterg - the graphics object on which to paintpublic void start()
WatermarkPainter
start in class WatermarkPainterpublic void stop()
WatermarkPainter
stop in class WatermarkPainter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||