|
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.ReportDispatcher
public class ReportDispatcher
Helper object for implementing IReporterSupport.
| Field Summary |
|---|
| Fields inherited from interface de.intarsys.tools.reporter.IReporter |
|---|
STYLE_BEEP, STYLE_NONE, STYLE_STANDALONE |
| Constructor Summary | |
|---|---|
ReportDispatcher(Object pOwner)
|
|
| Method Summary | |
|---|---|
void |
addReporter(IReporter newReporter)
|
void |
attach(IReporterSupport support)
|
void |
clear()
|
void |
detach(IReporterSupport support)
|
Object |
getOwner()
|
boolean |
isEmpty()
|
void |
removeReporter(IReporter newReporter)
|
void |
reportActivityEnd()
Indicate the end of an activity. |
void |
reportActivityStart(String message,
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 ReportDispatcher(Object pOwner)
| Method Detail |
|---|
public void addReporter(IReporter newReporter)
addReporter in interface IReporterSupportpublic void attach(IReporterSupport support)
public void clear()
public void detach(IReporterSupport support)
public Object getOwner()
public boolean isEmpty()
public void removeReporter(IReporter newReporter)
removeReporter in interface IReporterSupportpublic void reportActivityEnd()
IReporter
reportActivityEnd in interface IReporter
public void reportActivityStart(String message,
int style)
IReporter
reportActivityStart in interface IReportermessage - 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 IReportermessage - The message to be displayed.percent - The amount of work already done in percent. Valid values are 0
<= percent <= 100 for progress indication, percent < 0 for the
end of progress indication.
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 | |||||||||