jas2.swingstudio
Class JASJob
- java.lang.Object
-
- jas2.swingstudio.JASJob
-
- All Implemented Interfaces:
- StoppableExecution, TreeObjectSource, java.awt.event.ActionListener, java.io.Serializable, java.util.EventListener, javax.swing.event.TreeSelectionListener
public final class JASJob extends java.lang.Object implements java.io.Serializable, javax.swing.event.TreeSelectionListener, StoppableExecution, TreeObjectSource, java.awt.event.ActionListener
JASJob is that part of the "Job" which is always in the client, regardless of whether the job is local or remote. The getJob() method will return the real job, which may be an instance of LocalJob or JasJobAdaptor (for remote jobs).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description JASJob(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidactionPerformed(java.awt.event.ActionEvent e)The event source combo box has been changedjava.lang.ObjectgetItem(TreeItem item)booleanisChanged()booleanisRunning()voidloadClass(java.lang.String name)Loads a class into the Job (either local or remote)voidsetJob(Job job)voidstop()voidvalueChanged(javax.swing.event.TreeSelectionEvent e)
-
-
-
Method Detail
-
setJob
public void setJob(Job job)
-
isChanged
public boolean isChanged()
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
The event source combo box has been changed- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
stop
public void stop()
- Specified by:
stopin interfaceStoppableExecution
-
isRunning
public boolean isRunning()
- Specified by:
isRunningin interfaceStoppableExecution
-
getItem
public java.lang.Object getItem(TreeItem item)
- Specified by:
getItemin interfaceTreeObjectSource
-
valueChanged
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
- Specified by:
valueChangedin interfacejavax.swing.event.TreeSelectionListener
-
loadClass
public void loadClass(java.lang.String name)
Loads a class into the Job (either local or remote)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG