dsto.dfc.swing.tree
Class TreeModelTransferable

java.lang.Object
  extended by dsto.dfc.swing.tree.TreeModelTransferable
All Implemented Interfaces:
ClipboardOwner, Transferable

public final class TreeModelTransferable
extends Object
implements Transferable, ClipboardOwner


Field Summary
static DataFlavor TREE_MODEL_FLAVOR
           
 
Constructor Summary
TreeModelTransferable(TreeModel treeModel)
           
 
Method Summary
 Object getTransferData(DataFlavor flavor)
           
 DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(DataFlavor flavor)
           
 void lostOwnership(Clipboard clipboard, Transferable contents)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TREE_MODEL_FLAVOR

public static final DataFlavor TREE_MODEL_FLAVOR
Constructor Detail

TreeModelTransferable

public TreeModelTransferable(TreeModel treeModel)
Method Detail

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