public class TransferableNode extends Object implements Transferable
Modifier and Type | Field and Description |
---|---|
static DataFlavor |
NODE_FLAVOR |
Constructor and Description |
---|
TransferableNode(DefaultMutableTreeNode nd) |
Modifier and Type | Method and Description |
---|---|
Object |
getTransferData(DataFlavor flavor) |
DataFlavor[] |
getTransferDataFlavors() |
boolean |
isDataFlavorSupported(DataFlavor flavor) |
public static final DataFlavor NODE_FLAVOR
public TransferableNode(DefaultMutableTreeNode nd)
public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException
getTransferData
in interface Transferable
UnsupportedFlavorException
public DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors
in interface Transferable
public boolean isDataFlavorSupported(DataFlavor flavor)
isDataFlavorSupported
in interface Transferable
Copyright © 2015–2021 Fiji. All rights reserved.