edu.stanford.smi.protege.util
Class TransferableCollection
java.lang.Object
edu.stanford.smi.protege.util.TransferableCollection
- All Implemented Interfaces:
- Transferable
public class TransferableCollection
- extends Object
- implements Transferable
Transferable object for a collection of Frames. This is used for drag and drop. Note that frames are not
serializable so we have to use "java local object mime type".
- Author:
- Ray Fergerson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransferableCollection
public TransferableCollection(Collection frames)
getCollectionFlavor
public static DataFlavor getCollectionFlavor()
getTransferData
public Object getTransferData(DataFlavor flavor)
- Specified by:
getTransferData
in interface Transferable
getCollectionTransferData
public Object getCollectionTransferData()
getStringTransferData
public Object getStringTransferData()
getTransferDataFlavors
public DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interface Transferable
isDataFlavorSupported
public boolean isDataFlavorSupported(DataFlavor flavor)
- Specified by:
isDataFlavorSupported
in interface Transferable
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2007 Stanford University.