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 |
---|
DicomImageBlackout.DefaultStatusNotificationHandler() |
public DicomImageBlackout.DefaultStatusNotificationHandler()
public void notify(int status, String message, 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