com.japisoft.xmlpad.toolkit
Class JobManager

java.lang.Object
  extended bycom.japisoft.xmlpad.toolkit.JobManager
All Implemented Interfaces:
java.lang.Runnable

public final class JobManager
extends java.lang.Object
implements java.lang.Runnable

Toolkit for asynchronous working. Useful for sample for the real time synchronization between the text and the tree

Version:
1.1
Author:
(c) 2003 JAPISOFT / Alexandre Brillant
See Also:
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.
 void dispose()
          Dispose the current manager.
 void run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JOB_DELAY

public static int JOB_DELAY
Delay for job. This is a way to manage the parsing frequency


COMMON_MANAGER

public static JobManager COMMON_MANAGER
Constructor Detail

JobManager

public JobManager()
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

addJob

public static void addJob(Job run)
Add a new job. It will be managed when possible


dispose

public void dispose()
Dispose the current manager. It will stop the Thread