|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.SwingWorker<T,KreatorWorker.Status> edu.cs.ai.kreator.control.KreatorWorker<java.lang.Void> edu.cs.ai.kreator.control.EventKreatorWorker
public abstract class EventKreatorWorker
An event driven worker. Saves a reference to its worker dispatcher. And informs it when the work is done. Does the same things like it parent class KreatorWorker but calls finished on the WorkDispatcher after that.
Nested Class Summary | |
---|---|
static interface |
EventKreatorWorker.WorkerDispatcher
|
Nested classes/interfaces inherited from class edu.cs.ai.kreator.control.KreatorWorker |
---|
KreatorWorker.Status |
Nested classes/interfaces inherited from class javax.swing.SwingWorker |
---|
javax.swing.SwingWorker.StateValue |
Field Summary |
---|
Fields inherited from class edu.cs.ai.kreator.control.KreatorWorker |
---|
LOG |
Constructor Summary | |
---|---|
EventKreatorWorker(EventKreatorWorker.WorkerDispatcher dispatcher,
KreatorConsole console)
Ctor |
Method Summary | |
---|---|
protected void |
done()
This is called when execution finishes. |
Methods inherited from class edu.cs.ai.kreator.control.KreatorWorker |
---|
doInBackground, forceKill, forceResume, forceSuspend, getConsole, getStatus, myDoInBackground, myDone, pleaseAbort, pleaseWait, process, publish, resetShouldAbort, resume, shouldAbort, shouldWait |
Methods inherited from class javax.swing.SwingWorker |
---|
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgress |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventKreatorWorker(EventKreatorWorker.WorkerDispatcher dispatcher, KreatorConsole console)
dispatcher
- reference to the dispatcherconsole
- A KreatorConsole to bind.Method Detail |
---|
protected void done()
KreatorWorker
KreatorWorker.myDone()
, which may be implemented by any KReatorWorker.
done
in class KreatorWorker<java.lang.Void>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |