All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----SwingWorker
Summary |
public abstract class SwingWorker extends java.lang.Object { // Constructors 1 public SwingWorker(); // Methods 4 public abstract Object construct(); public void finished(); public Object get(); public void interrupt(); }
An abstract class that you subclass to perform GUI-related work in a dedicated thread. For instructions on using this class, see http://java.sun.com/products/jfc/swingdoc-current/threads2.html
Constructors |
· SwingWorker | Summary | Top |
public SwingWorker()
Start a thread that will call the
construct
method and then exit.
Methods |
· construct | Summary | Top |
public abstract Object construct()
Compute the value to be returned by the
get
method.
· finished | Summary | Top |
public void finished()
Called on the event dispatching thread (not on the worker thread) after the
construct
method has returned.
· interrupt | Summary | Top |
public void interrupt()
A new method that interrupts the worker thread. Call this method to force the worker to abort what it's doing.
· get | Summary | Top |
public Object get()
Return the value created by the
construct
method.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7