nl.tudelft.simulation.naming.context
Class ContextTransferable
java.lang.Object
nl.tudelft.simulation.naming.context.ContextTransferable
- All Implemented Interfaces:
- Transferable
public class ContextTransferable
- extends Object
- implements Transferable
The ContextTransferable class transfers keys in DropNDrag Operations.
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
- Since:
- 1.0
- Version:
- 1.2 2004-03-24
- Author:
- Peter Jacobs
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextTransferable
public ContextTransferable(Object object)
throws NamingException
- constructs a new ContextTransferable
- Parameters:
object
- the object to send
- Throws:
NamingException
- whenever the object cannot be found in the
context
getTransferDataFlavors
public DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interface Transferable
- See Also:
Transferable.getTransferDataFlavors()
isDataFlavorSupported
public boolean isDataFlavorSupported(DataFlavor flavor)
- Specified by:
isDataFlavorSupported
in interface Transferable
- See Also:
#isDataFlavorSupported(java.awt.datatransfer.DataFlavor)
getTransferData
public Object getTransferData(DataFlavor flavor)
- Specified by:
getTransferData
in interface Transferable
- See Also:
#getTransferData(java.awt.datatransfer.DataFlavor)
Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.