org.opensourcephysics.tools
Class ClipboardJob

java.lang.Object
  extended by org.opensourcephysics.tools.LocalJob
      extended by org.opensourcephysics.tools.ClipboardJob
All Implemented Interfaces:
java.rmi.Remote, Job

public class ClipboardJob
extends LocalJob

This is a Job implementation for osp data transfers via the clipboard.

Version:
1.0
Author:
Douglas Brown

Constructor Summary
ClipboardJob()
          Constructs a ClipboardJob.
ClipboardJob(java.lang.Object obj)
          Constructs a ClipboardJob for a specified object.
ClipboardJob(java.lang.String xml)
          Constructs a ClipboardJob with a specified xml string.
 
Method Summary
 java.lang.String getXML()
          Gets the xml string.
 void setXML(java.lang.String xml)
          Sets the xml string.
 
Methods inherited from class org.opensourcephysics.tools.LocalJob
setXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClipboardJob

public ClipboardJob()
Constructs a ClipboardJob.


ClipboardJob

public ClipboardJob(java.lang.String xml)
Constructs a ClipboardJob with a specified xml string.

Parameters:
xml - the string

ClipboardJob

public ClipboardJob(java.lang.Object obj)
Constructs a ClipboardJob for a specified object.

Parameters:
obj - the object
Method Detail

getXML

public java.lang.String getXML()
Gets the xml string. Implements Job.

Specified by:
getXML in interface Job
Overrides:
getXML in class LocalJob
Returns:
the xml string

setXML

public void setXML(java.lang.String xml)
Sets the xml string. Implements Job.

Specified by:
setXML in interface Job
Overrides:
setXML in class LocalJob
Parameters:
xml - the xml string