Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.ide.task.ui
Class TaskManagerDialog

java.lang.Object
  extended by oracle.ide.task.event.TaskAdapter
      extended by oracle.ide.task.ui.TaskManagerDialog

All Implemented Interfaces:
TaskListener

public class TaskManagerDialog
extends TaskAdapter

Method Summary
static TaskManagerDialog createDialog(java.awt.Component parent, TaskManagerDialogConfiguration config)
           
 void start()
          To be called from the EDT.
 void taskCancelled(TaskEvent e)
          Called when a task is cancelled successfully.
 void taskComplete(TaskEvent e)
          Called when a Task reaches the Completed state.
 void taskException(TaskEvent e, java.lang.Exception ex)
          Called when an exception is encountered in the process.
 void taskProgress(ProgressEvent e)
          Called everytime that Task provides a progress update
 void taskStarted(TaskEvent e)
          Called when a Task is started or restarted after a Pause

 

Methods inherited from class oracle.ide.task.event.TaskAdapter
taskPaused, taskUpdate

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

createDialog

public static TaskManagerDialog createDialog(java.awt.Component parent,
                                             TaskManagerDialogConfiguration config)

start

public void start()
To be called from the EDT. Blocks the calling thread.

taskException

public void taskException(TaskEvent e,
                          java.lang.Exception ex)
Description copied from interface: TaskListener
Called when an exception is encountered in the process. If it is not a checked exception, then it will be wrapped in a TaskException.
Specified by:
taskException in interface TaskListener
Overrides:
taskException in class TaskAdapter
Parameters:
e - TaskEvent a reference of the TaskEvent for this callback
ex - Exception the Exception which caused the callback. The task is terminated after an exception.

taskProgress

public void taskProgress(ProgressEvent e)
Description copied from interface: TaskListener
Called everytime that Task provides a progress update
Specified by:
taskProgress in interface TaskListener
Overrides:
taskProgress in class TaskAdapter
Parameters:
e - TaskProgress a reference to a TaskProgress instance which contains details of the progress of this task as generated by the implementor.

taskCancelled

public void taskCancelled(TaskEvent e)
Description copied from interface: TaskListener
Called when a task is cancelled successfully.
Specified by:
taskCancelled in interface TaskListener
Overrides:
taskCancelled in class TaskAdapter
Parameters:
e - TaskEvent the TaskEvent will contain details

taskComplete

public void taskComplete(TaskEvent e)
Description copied from interface: TaskListener
Called when a Task reaches the Completed state.
Specified by:
taskComplete in interface TaskListener
Overrides:
taskComplete in class TaskAdapter
Parameters:
e - TaskEvent a reference of the TaskEvent for this callback

taskStarted

public void taskStarted(TaskEvent e)
Description copied from interface: TaskListener
Called when a Task is started or restarted after a Pause
Specified by:
taskStarted in interface TaskListener
Overrides:
taskStarted in class TaskAdapter
Parameters:
e - TaskEvent a reference of the TaskEvent for this callback

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.