com.pixelmed.display
Class DicomImageBlackout.DefaultStatusNotificationHandler

java.lang.Object
  extended by com.pixelmed.display.DicomImageBlackout.StatusNotificationHandler
      extended by 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
DicomImageBlackout.DefaultStatusNotificationHandler()
           
 
Method Summary
 void notify(int status, String message, Throwable t)
          The callback method when status is updated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DicomImageBlackout.DefaultStatusNotificationHandler

public DicomImageBlackout.DefaultStatusNotificationHandler()
Method Detail

notify

public void notify(int status,
                   String message,
                   Throwable t)
Description copied from class: DicomImageBlackout.StatusNotificationHandler

The callback method when status is updated.

Specified by:
notify in class DicomImageBlackout.StatusNotificationHandler
Parameters:
status - a numeric status
message - a description of the status, and in some cases, affected file names
t - the exception that lead to the status notification, if caused by an exception, else null