|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.pacbell.jfai.toh.util.AbstractSwingWorker
net.pacbell.jfai.toh.util.AbstractSwingWorkerWithWaitCursor
public abstract class AbstractSwingWorkerWithWaitCursor
Subclass to run a Runnable on the dispatch event thread while displaying the wait cursor.
AbstractSwingWorker| Constructor Summary | |
|---|---|
AbstractSwingWorkerWithWaitCursor(Container aContainer)
Creates an instance that shows the wait cursor during execution of AbstractSwingWorker.construct()for the specified container. |
|
| Method Summary | |
|---|---|
void |
finished()
Called on the event dispatching thread (not on the worker thread) after the AbstractSwingWorker.construct()method has returned. Displays the original cursor. |
Container |
getContainer()
Gets the container. |
Cursor |
getOriginalCursor()
Gets the original cursor. |
void |
setContainer(Container newContainer)
Sets the container. |
protected void |
setOriginalCursor(Cursor newOriginalCursor)
Remembers the original cursor. |
void |
started()
Called on the event dispatching thread (not on the worker thread) before the AbstractSwingWorker.construct()method is called. Displays the wait cursor. |
| Methods inherited from class net.pacbell.jfai.toh.util.AbstractSwingWorker |
|---|
construct, get, getThreadVar, getValue, interrupt, invokeAndWait, invokeLater, setThreadVar, setValue, showMessageDialog, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSwingWorkerWithWaitCursor(Container aContainer)
AbstractSwingWorker.construct()for the specified container.
aContainer - a container| Method Detail |
|---|
public void finished()
AbstractSwingWorker.construct()method has returned. By default, does nothing. Displays the original cursor.
finished in class AbstractSwingWorkerpublic Container getContainer()
public Cursor getOriginalCursor()
public void setContainer(Container newContainer)
newContainer - the containerpublic void started()
AbstractSwingWorker.construct()method is called. By default, does nothing. Displays the wait cursor.
started in class AbstractSwingWorkerprotected void setOriginalCursor(Cursor newOriginalCursor)
newOriginalCursor - the original cursor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||