| |
|
| java.lang.Object org.netbeans.lib.profiler.ui.SwingWorker
SwingWorker | abstract public class SwingWorker (Code) | | Mimics the functionality of the SwingWorker from JDK6+
author: Jaroslav Bachorik |
SwingWorker | public SwingWorker(boolean forceEQ)(Code) | | Creates a new instance of SwingWorker
|
SwingWorker | public SwingWorker()(Code) | | |
doInBackground | abstract protected void doInBackground()(Code) | | Implementors will implement this method to provide the background task logic
|
done | protected void done()(Code) | | Executed after the background task had finished
It's run in EQ
|
execute | public void execute()(Code) | | Executes the UI task. Starts the background task and handles it's execution cycle
If the background task blocks for more than getWarmup() milis the nonResponding() method is invoked
|
getWarmup | protected int getWarmup()(Code) | | Returns a warmup time - time in ms before a "non responding" message is shown; default is 500ms |
nonResponding | protected void nonResponding()(Code) | | Called when the background thread lasts longer than the warmup time
The implementor must take care of rescheduling on AWT thread if appropriate
|
sinit | static synchronized void sinit()(Code) | | |
|
|
|