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,
java.lang.String message,
java.lang.Throwable t)
The callback method when status is updated.
|
public void notify(int status, java.lang.String message, java.lang.Throwable t)
DicomImageBlackout.StatusNotificationHandler
The callback method when status is updated.
notify
in class DicomImageBlackout.StatusNotificationHandler
status
- 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