|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.toolbox.swing.EventDispatchingThread
public abstract class EventDispatchingThread
Nested Class Summary | |
---|---|
private static class |
EventDispatchingThread.ThreadWrapper
Inner class that holds the reference to the thread. |
Field Summary | |
---|---|
private EventDispatchingThread.ThreadWrapper |
thread
A wrapper for the tread that executes a time-consuming task. |
private Object |
value
The value of an object constructed by the construct() method. |
Constructor Summary | |
---|---|
EventDispatchingThread()
Starts a thread. |
Method Summary | |
---|---|
abstract Object |
construct()
Implement this class; the time-consuming task will go here. |
void |
finished()
Called on the event dispatching thread once the construct method has finished its task. |
Object |
get()
Returns the value created by the construct method. |
void |
interrupt()
Forces the thread to stop what it's doing. |
void |
start()
Starts the thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Object value
private EventDispatchingThread.ThreadWrapper thread
Constructor Detail |
---|
public EventDispatchingThread()
Method Detail |
---|
public abstract Object construct()
public void start()
public void interrupt()
public void finished()
public Object get()
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |