private class JXImageView.ImageTransferable extends Object implements Transferable
Modifier and Type | Field and Description |
---|---|
private String |
exportFormat |
private String |
exportName |
private List<File> |
files |
private Image |
img |
Constructor and Description |
---|
ImageTransferable(Image img,
String exportName,
String exportFormat) |
Modifier and Type | Method and Description |
---|---|
Object |
getTransferData(DataFlavor flavor) |
DataFlavor[] |
getTransferDataFlavors() |
boolean |
isDataFlavorSupported(DataFlavor flavor) |
private String exportName
private String exportFormat
public ImageTransferable(Image img, String exportName, String exportFormat)
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
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses