public abstract class AbstractTransferable
extends java.lang.Object
implements java.awt.datatransfer.Transferable
Constructor and Description |
---|
AbstractTransferable(java.awt.datatransfer.DataFlavor flavor)
Creates a new instance.
|
AbstractTransferable(java.awt.datatransfer.DataFlavor[] flavors)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.awt.datatransfer.DataFlavor[] |
getTransferDataFlavors() |
boolean |
isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor) |
public AbstractTransferable(java.awt.datatransfer.DataFlavor flavor)
public AbstractTransferable(java.awt.datatransfer.DataFlavor[] flavors)
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