Version: 1.1.1

org.inb.biomoby.central.gui.dnd
Class ObjectTypeTransferable

java.lang.Object
  extended by org.inb.biomoby.central.gui.dnd.ObjectTypeTransferable
All Implemented Interfaces:
Transferable

public class ObjectTypeTransferable
extends Object
implements Transferable

BioMoby ObjectType[] transferable implementation

Author:
Dmitry Repchevsky

Field Summary
static DataFlavor OBJECT_TYPE
           
static DataFlavor OBJECT_TYPES
           
 
Constructor Summary
ObjectTypeTransferable(Collection<ObjectType> types)
           
ObjectTypeTransferable(Collection<ObjectType> types, DataFlavor flavor)
           
ObjectTypeTransferable(ObjectType type)
           
ObjectTypeTransferable(ObjectType type, DataFlavor flavor)
           
 
Method Summary
 Collection<ObjectType> getTransferData(DataFlavor flavor)
           
 DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(DataFlavor flavor)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_TYPE

public static final DataFlavor OBJECT_TYPE

OBJECT_TYPES

public static final DataFlavor OBJECT_TYPES
Constructor Detail

ObjectTypeTransferable

public ObjectTypeTransferable(ObjectType type)

ObjectTypeTransferable

public ObjectTypeTransferable(ObjectType type,
                              DataFlavor flavor)

ObjectTypeTransferable

public ObjectTypeTransferable(Collection<ObjectType> types)

ObjectTypeTransferable

public ObjectTypeTransferable(Collection<ObjectType> types,
                              DataFlavor flavor)
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 Collection<ObjectType> getTransferData(DataFlavor flavor)
                                       throws UnsupportedFlavorException,
                                              IOException
Specified by:
getTransferData in interface Transferable
Throws:
UnsupportedFlavorException
IOException

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010