public class SeismicWizardProcess extends AbstractMonitorableTask implements Observer, Observable
taskStatus
cancellationRequested
Modifier | Constructor and Description |
---|---|
protected |
SeismicWizardProcess(JSeismicWizard jSeismicWizard) |
Modifier and Type | Method and Description |
---|---|
void |
addObserver(Observer o) |
void |
deleteObserver(Observer o) |
void |
deleteObservers() |
JSeismicWizard |
getJDriverWizard() |
void |
notifyObservers(Observable observable,
java.lang.Object tableName) |
void |
run() |
void |
update(Observable observable,
java.lang.Object notification)
Called whenever a
Observable object is changed and this
Observer has registered on it to receive notifications. |
cancelRequest, getSimpleTaskStatus, getTaskStatus, setTaskName
isCancellationRequested
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isCancellationRequested
protected SeismicWizardProcess(JSeismicWizard jSeismicWizard)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public JSeismicWizard getJDriverWizard()
public void addObserver(Observer o)
addObserver
in interface Observable
public void deleteObserver(Observer o)
deleteObserver
in interface Observable
public void deleteObservers()
deleteObservers
in interface Observable
public void update(Observable observable, java.lang.Object notification)
Observer
Observable
object is changed and this
Observer
has registered on it to receive notifications.
Implementations of this method will be called for each simple notification or, if a complex notification is created, for each of the child notifications.
In the latter case, don't assume any ordering in the notification between
this Observer
and other Observer
s listening to the same
Observable
.
In a complex notification scenario, if you want to receive only the
complex notification and not each of the child notifications, just
implement the ComplexObserver
and prepare this method
implementation to handle receiving DefaultComplexNotification
instances
as well as direct notification objects.
public void notifyObservers(Observable observable, java.lang.Object tableName)