Package com.pixelmed.display
Class DicomImageBlackout.DefaultStatusNotificationHandler
- java.lang.Object
-
- com.pixelmed.display.DicomImageBlackout.StatusNotificationHandler
-
- com.pixelmed.display.DicomImageBlackout.DefaultStatusNotificationHandler
-
- Enclosing class:
- DicomImageBlackout
public class DicomImageBlackout.DefaultStatusNotificationHandler extends DicomImageBlackout.StatusNotificationHandler
A default status notification implementation, which just writes everything to stderr.
-
-
Field Summary
-
Fields inherited from class com.pixelmed.display.DicomImageBlackout.StatusNotificationHandler
BLACKOUT_FAILED, CANCELLED, COMPLETED, READ_FAILED, SAVE_FAILED, SAVE_SUCCEEDED, UNSAVED_CHANGES, WINDOW_CLOSED
-
-
Constructor Summary
Constructors Constructor Description DefaultStatusNotificationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notify(int status, java.lang.String message, java.lang.Throwable t)
The callback method when status is updated.
-
-
-
Method Detail
-
notify
public void notify(int status, java.lang.String message, java.lang.Throwable t)
Description copied from class:DicomImageBlackout.StatusNotificationHandler
The callback method when status is updated.
- Specified by:
notify
in classDicomImageBlackout.StatusNotificationHandler
- Parameters:
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
-
-