public class SourcesTransferable extends Object implements Transferable
Transferable
for a collection of sources.Modifier and Type | Class and Description |
---|---|
static class |
SourcesTransferable.SourceList |
Modifier and Type | Field and Description |
---|---|
static DataFlavor |
flavor |
Constructor and Description |
---|
SourcesTransferable(Collection<SourceAndConverter<?>> sources) |
Modifier and Type | Method and Description |
---|---|
Object |
getTransferData(DataFlavor flavor) |
DataFlavor[] |
getTransferDataFlavors() |
boolean |
isDataFlavorSupported(DataFlavor flavor) |
public static final DataFlavor flavor
public SourcesTransferable(Collection<SourceAndConverter<?>> sources)
public DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors
in interface Transferable
public boolean isDataFlavorSupported(DataFlavor flavor)
isDataFlavorSupported
in interface Transferable
public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException
getTransferData
in interface Transferable
UnsupportedFlavorException
IOException
Copyright © 2015–2021 Fiji. All rights reserved.