|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.uif.splash.LogSplash
public final class LogSplash
A SplashProvider
implementation that logs progress and splash
messages to a Logger
.
Splash
Constructor Summary | |
---|---|
LogSplash()
Constructs a LogSplash with a default Logger
logging on the INFO level. |
|
LogSplash(Logger logger,
Level logLevel)
Constructs a LogSplash for the specified
Logger and Level . |
Method Summary | |
---|---|
void |
closeSplash()
Implements the close splash behavior; does nothing. |
void |
openSplash()
Implements the open splash behavior; does nothing. |
void |
setNote(String message)
Logs the given splash message. |
void |
setProgress(int percent)
Logs the given splash progress. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogSplash()
LogSplash
with a default Logger
logging on the INFO
level.
public LogSplash(Logger logger, Level logLevel)
LogSplash
for the specified
Logger
and Level
.
logger
- the Logger used to log splash eventslogLevel
- the log level used to log the splash eventsMethod Detail |
---|
public void openSplash()
openSplash
in interface SplashProvider
public void closeSplash()
closeSplash
in interface SplashProvider
public void setProgress(int percent)
setProgress
in interface SplashProvider
percent
- the new progress in percentpublic void setNote(String message)
setNote
in interface SplashProvider
message
- the log message to be presented
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |