insensa.view
Class TreePathTransferable
java.lang.Object
insensa.view.TreePathTransferable
- All Implemented Interfaces:
- java.awt.datatransfer.Transferable
public class TreePathTransferable
- extends java.lang.Object
- implements java.awt.datatransfer.Transferable
Field Summary |
(package private) java.util.List<java.lang.Object> |
asd
|
protected static java.awt.datatransfer.DataFlavor[] |
flavors
|
static java.awt.datatransfer.DataFlavor |
TREE_PATH_TRANS
|
(package private) java.lang.Object |
treePath
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TREE_PATH_TRANS
public static final java.awt.datatransfer.DataFlavor TREE_PATH_TRANS
flavors
protected static final java.awt.datatransfer.DataFlavor[] flavors
treePath
java.lang.Object treePath
asd
java.util.List<java.lang.Object> asd
TreePathTransferable
public TreePathTransferable(javax.swing.JTree tree)
- Parameters:
tree
-
getObjects
public java.util.List<java.lang.Object> getObjects()
- Returns:
getTransferData
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
throws java.awt.datatransfer.UnsupportedFlavorException,
java.io.IOException
- Specified by:
getTransferData
in interface java.awt.datatransfer.Transferable
- Throws:
java.awt.datatransfer.UnsupportedFlavorException
java.io.IOException
- See Also:
Transferable.getTransferData(java.awt.datatransfer.DataFlavor)
getTransferDataFlavors
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interface java.awt.datatransfer.Transferable
- See Also:
Transferable.getTransferDataFlavors()
isDataFlavorSupported
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
- Specified by:
isDataFlavorSupported
in interface java.awt.datatransfer.Transferable
- See Also:
Transferable.isDataFlavorSupported(java.awt.datatransfer.DataFlavor)