cz.cuni.pogamut.posh.widget.accept
Class DataNodeExTransferable
java.lang.Object
org.openide.util.datatransfer.ExTransferable.Single
cz.cuni.pogamut.posh.widget.accept.DataNodeExTransferable
- All Implemented Interfaces:
- Transferable
public class DataNodeExTransferable
- extends org.openide.util.datatransfer.ExTransferable.Single
Simple transferable (used for DnD), that will take PoshElement and
encapsulate it.
- Author:
- Honza
|
Constructor Summary |
DataNodeExTransferable(cz.cuni.amis.pogamut.sposh.elements.PoshElement dataNode)
Data flavor of transferable will be taken from dataNode. |
| Methods inherited from class org.openide.util.datatransfer.ExTransferable.Single |
getTransferData, getTransferDataFlavors, isDataFlavorSupported |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataNodeExTransferable
public DataNodeExTransferable(cz.cuni.amis.pogamut.sposh.elements.PoshElement dataNode)
- Data flavor of transferable will be taken from dataNode.
- Parameters:
dataNode -
getData
protected Object getData()
throws IOException,
UnsupportedFlavorException
- Specified by:
getData in class org.openide.util.datatransfer.ExTransferable.Single
- Throws:
IOException
UnsupportedFlavorException
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.