|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensourcephysics.tools.JobManager
This manages jobs and their associated objects and replies.
| Constructor Summary | |
JobManager(Tool tool)
Constructs a job manager for a specified tool. |
|
| Method Summary | |
void |
associate(Job job,
java.lang.Object obj)
Associates a job with the specified object. |
Job[] |
getJobs(java.lang.Object obj)
Gets the jobs associated with the specified object. |
java.lang.Object[] |
getObjects(Job job)
Gets the objects associated with the specified job. |
void |
log(Job job,
Tool tool)
Logs a job and tool into the manager. |
void |
sendReplies(Job job)
Replies to tools interested in the specified job. |
void |
sendReplies(java.lang.Object obj)
Replies to tools interested in the specified object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JobManager(Tool tool)
tool - the tool| Method Detail |
public void log(Job job,
Tool tool)
job - the jobtool - a tool interested in the job
public void associate(Job job,
java.lang.Object obj)
job - the jobobj - the objectpublic Job[] getJobs(java.lang.Object obj)
obj - the object
public java.lang.Object[] getObjects(Job job)
job - the job
public void sendReplies(java.lang.Object obj)
obj - the objectpublic void sendReplies(Job job)
job - the job
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||