dsto.dfc.swing.tree
Class TreeModelTransferable
java.lang.Object
dsto.dfc.swing.tree.TreeModelTransferable
- All Implemented Interfaces:
- ClipboardOwner, Transferable
public final class TreeModelTransferable
- extends Object
- implements Transferable, ClipboardOwner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TREE_MODEL_FLAVOR
public static final DataFlavor TREE_MODEL_FLAVOR
TreeModelTransferable
public TreeModelTransferable(TreeModel treeModel)
getTransferDataFlavors
public DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interface Transferable
isDataFlavorSupported
public boolean isDataFlavorSupported(DataFlavor flavor)
- Specified by:
isDataFlavorSupported
in interface Transferable
getTransferData
public Object getTransferData(DataFlavor flavor)
throws UnsupportedFlavorException,
IOException
- Specified by:
getTransferData
in interface Transferable
- Throws:
UnsupportedFlavorException
IOException
lostOwnership
public void lostOwnership(Clipboard clipboard,
Transferable contents)
- Specified by:
lostOwnership
in interface ClipboardOwner
Copyright © 2008 Commonwealth of Australia