net.sf.jomic.comic
Class ComicViewTransferable
java.lang.Object
net.sf.jomic.comic.ComicViewTransferable
- All Implemented Interfaces:
- java.awt.datatransfer.Transferable
public class ComicViewTransferable
- extends java.lang.Object
- implements java.awt.datatransfer.Transferable
Transferable to transfer the currently visible image from a ComicView.
- See Also:
ComicView
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComicViewTransferable
public ComicViewTransferable(javax.swing.JComponent component)
getTransferData
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
throws java.io.IOException,
java.awt.datatransfer.UnsupportedFlavorException
- Specified by:
getTransferData
in interface java.awt.datatransfer.Transferable
- Throws:
java.io.IOException
java.awt.datatransfer.UnsupportedFlavorException
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