|
intarsys runtime library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.tools.reporter.ReplayReporter
public class ReplayReporter
An IReporter
that may be used to intercept the reporting information
and "replay" them later on on another IReporter
instance.
This is useful if an object receiving reporting information may be dynamically multiplexed on many reporting events emitting instances, for example a window showing a currently active object.
Field Summary |
---|
Fields inherited from interface de.intarsys.tools.reporter.IReporter |
---|
STYLE_BEEP, STYLE_NONE, STYLE_STANDALONE |
Constructor Summary | |
---|---|
ReplayReporter()
|
Method Summary | |
---|---|
void |
addReporter(IReporter reporter)
|
void |
removeReporter(IReporter reporter)
|
void |
reportActivityEnd()
Indicate the end of an activity. |
void |
reportActivityStart(String activity,
int style)
Indicate the beginning of an activity, possibly blocking system interaction. |
void |
reportError(String title,
String message,
Throwable t,
int style)
Indicate an error condition. |
void |
reportMessage(String title,
String message,
int style)
Report a message to the user. |
void |
reportProgress(String message,
int percent,
int style)
Indicate the progress of an ongoing activity. |
void |
reportStatus(String message,
int style)
Report a simple state information. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReplayReporter()
Method Detail |
---|
public void addReporter(IReporter reporter)
addReporter
in interface IReporterSupport
public void removeReporter(IReporter reporter)
removeReporter
in interface IReporterSupport
public void reportActivityEnd()
IReporter
reportActivityEnd
in interface IReporter
public void reportActivityStart(String activity, int style)
IReporter
reportActivityStart
in interface IReporter
activity
- A label for reporting the activity.public void reportError(String title, String message, Throwable t, int style)
IReporter
reportError
in interface IReporter
public void reportMessage(String title, String message, int style)
IReporter
reportMessage
in interface IReporter
public void reportProgress(String message, int percent, int style)
IReporter
reportProgress
in interface IReporter
public void reportStatus(String message, int style)
IReporter
reportStatus
in interface IReporter
|
intarsys runtime library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |