net.sf.jomic.comic
Class ComicViewTransferable

java.lang.Object
  extended by net.sf.jomic.comic.ComicViewTransferable
All Implemented Interfaces:
Transferable

public class ComicViewTransferable
extends Object
implements Transferable

Transferable to transfer the currently visible image from a ComicView.

See Also:
ComicView

Constructor Summary
ComicViewTransferable(JComponent component)
           
 
Method Summary
 Object getTransferData(DataFlavor flavor)
           
 DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(DataFlavor flavor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComicViewTransferable

public ComicViewTransferable(JComponent component)
Method Detail

getTransferData

public Object getTransferData(DataFlavor flavor)
                       throws IOException,
                              UnsupportedFlavorException
Specified by:
getTransferData in interface Transferable
Throws:
IOException
UnsupportedFlavorException

getTransferDataFlavors

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

isDataFlavorSupported

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