com.sun.jna.examples.dnd
Class GhostedDragImageDemo.ImageSelection
java.lang.Object
com.sun.jna.examples.dnd.GhostedDragImageDemo.ImageSelection
- All Implemented Interfaces:
- ClipboardOwner, Transferable
- Enclosing class:
- GhostedDragImageDemo
public static class GhostedDragImageDemo.ImageSelection
- extends Object
- implements Transferable, ClipboardOwner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IMAGE_FLAVOR
public static final DataFlavor IMAGE_FLAVOR
GhostedDragImageDemo.ImageSelection
public GhostedDragImageDemo.ImageSelection(Image image)
lostOwnership
public void lostOwnership(Clipboard clipboard,
Transferable transferable)
- Specified by:
lostOwnership
in interface ClipboardOwner
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
Copyright © 2007 Timothy Wall. All Rights Reserved.