public class ReportDispatcher extends java.lang.Object implements IReporterSupport, IReporter
IReporterSupport.STYLE_BEEP, STYLE_NONE, STYLE_STANDALONE| Constructor and Description |
|---|
ReportDispatcher(java.lang.Object pOwner) |
| Modifier and Type | Method and Description |
|---|---|
void |
addReporter(IReporter newReporter) |
void |
attach(IReporterSupport support) |
void |
clear() |
void |
detach(IReporterSupport support) |
java.lang.Object |
getOwner() |
boolean |
isEmpty() |
void |
removeReporter(IReporter newReporter) |
void |
reportActivityEnd()
Indicate the end of an activity.
|
void |
reportActivityStart(java.lang.String message,
int style)
Indicate the beginning of an activity, possibly blocking system
interaction.
|
void |
reportError(java.lang.String title,
java.lang.String message,
java.lang.Throwable t,
int style)
Indicate an error condition.
|
void |
reportMessage(java.lang.String title,
java.lang.String message,
int style)
Report a message to the user.
|
void |
reportProgress(java.lang.String message,
int percent,
int style)
Indicate the progress of an ongoing activity.
|
void |
reportStatus(java.lang.String message,
int style)
Report a simple state information.
|
public void addReporter(IReporter newReporter)
addReporter in interface IReporterSupportpublic void attach(IReporterSupport support)
public void clear()
public void detach(IReporterSupport support)
public java.lang.Object getOwner()
public boolean isEmpty()
public void removeReporter(IReporter newReporter)
removeReporter in interface IReporterSupportpublic void reportActivityEnd()
IReporterreportActivityEnd in interface IReporterpublic void reportActivityStart(java.lang.String message,
int style)
IReporterreportActivityStart in interface IReportermessage - A label for reporting the activity.public void reportError(java.lang.String title,
java.lang.String message,
java.lang.Throwable t,
int style)
IReporterreportError in interface IReporterpublic void reportMessage(java.lang.String title,
java.lang.String message,
int style)
IReporterreportMessage in interface IReporterpublic void reportProgress(java.lang.String message,
int percent,
int style)
IReporterreportProgress in interface IReporterpublic void reportStatus(java.lang.String message,
int style)
IReporterreportStatus in interface IReporter