net.sf.jomic.comic
Class ComicViewTransferable
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComicViewTransferable
public ComicViewTransferable(JComponent component)
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