|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.benfante.splasher.SimpleSplashManager
public class SimpleSplashManager
A class that observe tasks and draw a description and a progress bar on a Java 6 splash screen.
| Constructor Summary | |
|---|---|
SimpleSplashManager()
Creates a new instance of SimpleSplashManager |
|
| Method Summary | |
|---|---|
void |
notifyAdd(Task task)
This method will be called when an observer is added to a task. |
void |
setMessageColor(java.awt.Color messageColor)
Set the message color. |
void |
setMessageFont(java.awt.Font messageFont)
Set the message font. |
void |
setProgressBarColor(java.awt.Color progressBarColor)
Set the progress bar color. |
void |
update(Task task)
This method will be called when a task notify changes to the observer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSplashManager()
| Method Detail |
|---|
public void update(Task task)
update in interface TaskObservertask - The task notifying the changes.public void notifyAdd(Task task)
notifyAdd in interface TaskObservertask - The task that is adding the observer.public void setProgressBarColor(java.awt.Color progressBarColor)
progressBarColor - The progress bar colorpublic void setMessageColor(java.awt.Color messageColor)
messageColor - The message colorpublic void setMessageFont(java.awt.Font messageFont)
messageFont - The message font
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||