com.vividsolutions.jump.workbench.ui.plugin.clipboard
Class AbstractTransferable

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.plugin.clipboard.AbstractTransferable
All Implemented Interfaces:
java.awt.datatransfer.Transferable
Direct Known Subclasses:
CollectionOfFeaturesTransferable, CollectionOfLayerablesTransferable

public abstract class AbstractTransferable
extends java.lang.Object
implements java.awt.datatransfer.Transferable


Constructor Summary
AbstractTransferable(java.awt.datatransfer.DataFlavor[] flavors)
           
 
Method Summary
abstract  java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
           
 java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTransferable

public AbstractTransferable(java.awt.datatransfer.DataFlavor[] flavors)
Method Detail

getTransferDataFlavors

public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
Specified by:
getTransferDataFlavors in interface java.awt.datatransfer.Transferable

isDataFlavorSupported

public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
Specified by:
isDataFlavorSupported in interface java.awt.datatransfer.Transferable

getTransferData

public abstract java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
                                          throws java.awt.datatransfer.UnsupportedFlavorException,
                                                 java.io.IOException
Specified by:
getTransferData in interface java.awt.datatransfer.Transferable
Throws:
java.awt.datatransfer.UnsupportedFlavorException
java.io.IOException