dsto.dfc.swing.dnd
Class MissingDataTransferable

java.lang.Object
  extended by dsto.dfc.swing.dnd.MissingDataTransferable
All Implemented Interfaces:
Transferable

public class MissingDataTransferable
extends Object
implements Transferable

Defines a Transferable where data is unavailable.

Version:
$Revision$

Constructor Summary
MissingDataTransferable(DataFlavor[] flavors)
           
 
Method Summary
 Object getTransferData(DataFlavor flavor)
          Always throws IOException.
 DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(DataFlavor flavor)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingDataTransferable

public MissingDataTransferable(DataFlavor[] flavors)
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
Always throws IOException.

Specified by:
getTransferData in interface Transferable
Throws:
UnsupportedFlavorException
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008 Commonwealth of Australia