|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IReporter
An interface to report different types of information to the user.
This may be implemented for example as pure logging in a headless environment or with message dialogs in a window system.
| Field Summary | |
|---|---|
static int |
STYLE_BEEP
|
static int |
STYLE_NONE
|
static int |
STYLE_STANDALONE
|
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
static final int STYLE_NONE
static final int STYLE_STANDALONE
static final int STYLE_BEEP
| Method Detail |
|---|
void reportActivityEnd()
void reportActivityStart(java.lang.String message,
int style)
message - A label for reporting the activity.style -
void reportError(java.lang.String title,
java.lang.String message,
java.lang.Throwable t,
int style)
title - message - t - style -
void reportMessage(java.lang.String title,
java.lang.String message,
int style)
title - message - style -
void reportProgress(java.lang.String message,
int percent,
int style)
message - percent - style -
void reportStatus(java.lang.String message,
int style)
message - style -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||