public class DicomImageBlackout.DefaultStatusNotificationHandler extends DicomImageBlackout.StatusNotificationHandler
A default status notification implementation, which just writes everything to stderr.
BLACKOUT_FAILED, CANCELLED, COMPLETED, READ_FAILED, SAVE_FAILED, SAVE_SUCCEEDED, UNSAVED_CHANGES, WINDOW_CLOSED| Constructor and Description |
|---|
DefaultStatusNotificationHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
notify(int status,
String message,
Throwable t)
The callback method when status is updated.
|
public void notify(int status,
String message,
Throwable t)
DicomImageBlackout.StatusNotificationHandlerThe callback method when status is updated.
notify in class DicomImageBlackout.StatusNotificationHandlerstatus - a numeric statusmessage - a description of the status, and in some cases, affected file namest - the exception that lead to the status notification, if caused by an exception, else null