public abstract class DicomImageBlackout.StatusNotificationHandler
extends java.lang.Object
An abstract class for the user of to supply a callback notification method,
supplied as an argument of the DicomImageBlackout()
constructor.
Modifier and Type | Field and Description |
---|---|
static int |
BLACKOUT_FAILED |
static int |
CANCELLED |
static int |
COMPLETED |
static int |
READ_FAILED |
static int |
SAVE_FAILED |
static int |
SAVE_SUCCEEDED |
static int |
UNSAVED_CHANGES |
static int |
WINDOW_CLOSED |
Modifier | Constructor and Description |
---|---|
protected |
StatusNotificationHandler() |
Modifier and Type | Method and Description |
---|---|
abstract void |
notify(int status,
java.lang.String message,
java.lang.Throwable t)
The callback method when status is updated.
|
public static final int BLACKOUT_FAILED
public static final int CANCELLED
public static final int COMPLETED
public static final int READ_FAILED
public static final int SAVE_FAILED
public static final int SAVE_SUCCEEDED
public static final int UNSAVED_CHANGES
public static final int WINDOW_CLOSED
public abstract void notify(int status, java.lang.String message, java.lang.Throwable t)
The callback method when status is updated.
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