cz.cuni.pogamut.posh.widget.accept
Class DataNodeExTransferable

Package class diagram package DataNodeExTransferable
java.lang.Object
  extended by org.openide.util.datatransfer.ExTransferable.Single
      extended by 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.
 
Method Summary
protected  Object getData()
           
 
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
 

Constructor Detail

DataNodeExTransferable

public DataNodeExTransferable(cz.cuni.amis.pogamut.sposh.elements.PoshElement dataNode)
Data flavor of transferable will be taken from dataNode.

Parameters:
dataNode -
Method Detail

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.