Version: 1.1.1

ca.ucalgary.seahawk.util
Class MobyDataTransferable

java.lang.Object
  extended by ca.ucalgary.seahawk.util.MobyDataTransferable
All Implemented Interfaces:
Transferable

public class MobyDataTransferable
extends Object
implements Transferable

Representation of Moby data from the org.biomoby.shared.data package when copied to a Clipboard.


Constructor Summary
MobyDataTransferable(MobyContentInstance mci)
          C-tor to use when you have a whole MOBY payload to transfer (potentially many jobs, a.k.a. mobyData blocks).
MobyDataTransferable(MobyDataInstance mdi)
          C-tor to use when you have just a single piece of data to transfer, such as a Simple, a secondary param, or a Collection.
MobyDataTransferable(MobyDataJob job)
          C-tor to use when you have a complete job to transfer (a.k.a. a mobyData block).
 
Method Summary
 Object getTransferData(DataFlavor flavor)
           
 DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(DataFlavor flavor)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobyDataTransferable

public MobyDataTransferable(MobyContentInstance mci)
C-tor to use when you have a whole MOBY payload to transfer (potentially many jobs, a.k.a. mobyData blocks).


MobyDataTransferable

public MobyDataTransferable(MobyDataJob job)
C-tor to use when you have a complete job to transfer (a.k.a. a mobyData block).


MobyDataTransferable

public MobyDataTransferable(MobyDataInstance mdi)
C-tor to use when you have just a single piece of data to transfer, such as a Simple, a secondary param, or a Collection.

Method Detail

getTransferData

public Object getTransferData(DataFlavor flavor)
Specified by:
getTransferData in interface Transferable

getTransferDataFlavors

public DataFlavor[] getTransferDataFlavors()
Specified by:
getTransferDataFlavors in interface Transferable

isDataFlavorSupported

public boolean isDataFlavorSupported(DataFlavor flavor)
Specified by:
isDataFlavorSupported in interface Transferable

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010