| java.lang.Object org.swingml.task.TaskExecutor
TaskExecutor | public class TaskExecutor (Code) | | author: CrossLogic |
Method Summary | |
public static TaskExecutor | getInstance() | public Object | runTask(ITask task) This method is typically called from Swing, and will put a task into the
queue of tasks to be processed by the long running operation thread. | public Object | runTask(ITask task, boolean showModalDialog) This method is typically called from Swing, and will put a task into the
queue of tasks to be processed by the long running operation thread. |
runTask | public Object runTask(ITask task)(Code) | | This method is typically called from Swing, and will put a task into the
queue of tasks to be processed by the long running operation thread. This
method always queues the task to run without a modal dialog window. To
use a modal dialog window, see queueTask(ITask, boolean).
Parameters: task - Parameters: showModalDialog - |
runTask | public Object runTask(ITask task, boolean showModalDialog)(Code) | | This method is typically called from Swing, and will put a task into the
queue of tasks to be processed by the long running operation thread. If
the showModalDialog parameter is true, a modal window will open with a
progress bar for the task. The window will close when the task completes,
or if the user clicks the "hide" button.
Parameters: task - Parameters: showModalDialog - |
|
|