public class DBObjectTransferable
extends java.lang.Object
implements java.awt.datatransfer.Transferable
Constructor and Description |
---|
DBObjectTransferable(DBObject obj) |
DBObjectTransferable(DBObject obj,
boolean includeChildren) |
DBObjectTransferable(DBObject obj,
DBObject[] path) |
DBObjectTransferable(DBObject obj,
DBObject[] path,
boolean includeChildren) |
Modifier and Type | Method and Description |
---|---|
static java.awt.datatransfer.DataFlavor |
getDataFlavor(java.lang.String type)
Returns the data flavor for the given type.
|
DBObject |
getDBObject() |
DBObject[] |
getPath() |
java.awt.datatransfer.DataFlavor |
getPrimaryFlavor() |
java.lang.Object |
getTransferData(java.awt.datatransfer.DataFlavor flavor) |
java.awt.datatransfer.DataFlavor[] |
getTransferDataFlavors() |
boolean |
isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor) |
public DBObjectTransferable(DBObject obj)
public DBObjectTransferable(DBObject obj, boolean includeChildren)
public DBObject getDBObject()
public DBObject[] getPath()
public java.awt.datatransfer.DataFlavor getPrimaryFlavor()
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors
in interface java.awt.datatransfer.Transferable
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
isDataFlavorSupported
in interface java.awt.datatransfer.Transferable
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor) throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
getTransferData
in interface java.awt.datatransfer.Transferable
java.awt.datatransfer.UnsupportedFlavorException
java.io.IOException
public static java.awt.datatransfer.DataFlavor getDataFlavor(java.lang.String type)