public class DndBrowserNodes extends Object implements Transferable
| Modifier and Type | Field and Description |
|---|---|
static DataFlavor |
INFO_FLAVOR
The data flavor managed by this transferable.
|
| Constructor and Description |
|---|
DndBrowserNodes() |
| Modifier and Type | Method and Description |
|---|---|
BrowserNodeInfo[] |
getNodes()
Returns the nodes that are being dragged (and dropped).
|
Component |
getParent()
Returns the component that contains the nodes (for instance the tree in
the LDAP browser).
|
Object |
getTransferData(DataFlavor df) |
DataFlavor[] |
getTransferDataFlavors() |
boolean |
isDataFlavorSupported(DataFlavor df) |
void |
setNodes(BrowserNodeInfo[] nodes)
Sets the nodes that are being dragged (and dropped).
|
void |
setParent(Component parent)
Sets the component that contains the nodes (for instance the tree in
the LDAP browser).
|
public static final DataFlavor INFO_FLAVOR
public DndBrowserNodes()
public boolean isDataFlavorSupported(DataFlavor df)
isDataFlavorSupported in interface Transferablepublic Object getTransferData(DataFlavor df) throws UnsupportedFlavorException, IOException
getTransferData in interface TransferableUnsupportedFlavorExceptionIOExceptionpublic DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface Transferablepublic BrowserNodeInfo[] getNodes()
public void setNodes(BrowserNodeInfo[] nodes)
nodes - the nodes that are being dragged (and dropped).public Component getParent()
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.