|
intarsys runtime library | |||||||||
| 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(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. |
| Field Detail |
|---|
static final int STYLE_NONE
static final int STYLE_STANDALONE
static final int STYLE_BEEP
| Method Detail |
|---|
void reportActivityEnd()
void reportActivityStart(String message,
int style)
message - A label for reporting the activity.style -
void reportError(String title,
String message,
Throwable t,
int style)
title - message - t - style -
void reportMessage(String title,
String message,
int style)
title - message - style -
void reportProgress(String message,
int percent,
int style)
message - percent - style -
void reportStatus(String message,
int style)
message - style -
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||