|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.japisoft.framework.job.JobManager
Toolkit for asynchronous working. Useful for sample for the real time synchronization between the text and the tree
Job| Field Summary | |
static JobManager |
COMMON_MANAGER
|
static int |
JOB_DELAY
Delay for job. |
| Constructor Summary | |
JobManager()
|
|
| Method Summary | |
static void |
addJob(Job run)
Add a new job. |
static javax.swing.JPopupMenu |
buildPopupForHeavyJob()
|
void |
dispose()
Dispose the current manager. |
static java.lang.String |
getHeavyJob(int index)
|
static int |
getHeavyJobCount()
|
static boolean |
isRunning(Job run)
|
static boolean |
isTaskWorking(java.lang.Class[] jobCl)
|
boolean |
isTerminated(java.lang.String jobName)
|
void |
run()
|
static void |
setJobManagerListener(JobManagerListener vlistener)
Set a listener about current job |
static void |
waitForNoJob()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static int JOB_DELAY
public static JobManager COMMON_MANAGER
| Constructor Detail |
public JobManager()
| Method Detail |
public void run()
run in interface java.lang.Runnablepublic static void setJobManagerListener(JobManagerListener vlistener)
public static void waitForNoJob()
public static boolean isRunning(Job run)
true if this job is runningpublic static void addJob(Job run)
public void dispose()
public boolean isTerminated(java.lang.String jobName)
true if this job is terminated or has not been
managedpublic static boolean isTaskWorking(java.lang.Class[] jobCl)
public static int getHeavyJobCount()
public static java.lang.String getHeavyJob(int index)
public static javax.swing.JPopupMenu buildPopupForHeavyJob()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||