Transferablepublic static class ExTransferable.Multi extends Object implements Transferable
| Constructor | Description |
|---|---|
Multi(Transferable[] trans) |
Constructor taking a list of
Transferable objects. |
| Modifier and Type | Method | Description |
|---|---|---|
Object |
getTransferData(DataFlavor flavor) |
Get transfer data.
|
DataFlavor[] |
getTransferDataFlavors() |
Get supported flavors.
|
boolean |
isDataFlavorSupported(DataFlavor flavor) |
Is this flavor supported?
|
public Multi(Transferable[] trans)
Transferable objects.trans - array of transferable objectspublic DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface TransferableExTransferable.multiFlavorpublic boolean isDataFlavorSupported(DataFlavor flavor)
isDataFlavorSupported in interface Transferableflavor - the flavortrue only if the flavor is ExTransferable.multiFlavorpublic Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException
getTransferData in interface Transferableflavor - the flavor (ExTransferable.multiFlavor)MultiTransferObject that represents data in this objectUnsupportedFlavorException - when the flavor is not supportedIOException - when it is not possible to read dataBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.