Class TransferableFile
java.lang.Object
be.gaudry.swing.file.navigator.dnd.TransferableFile
- All Implemented Interfaces:
Transferable
- Since:
- 1.0 Sep 9, 2009
- Author:
- Steph GAUDRY
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.pushingpixels.flamingo.api.common.JCommandButton
static DataFlavor
protected File
static DataFlavor
static DataFlavor[]
-
Constructor Summary
ConstructorDescriptionTransferableFile(File file)
TransferableFile(org.pushingpixels.flamingo.api.common.JCommandButton button)
-
Method Summary
Modifier and TypeMethodDescriptiongetTransferData(DataFlavor flavor)
boolean
isDataFlavorSupported(DataFlavor flavor)
-
Field Details
-
fileFlavor
-
commandButtonFlavor
-
supportedFlavors
-
file
-
button
protected org.pushingpixels.flamingo.api.common.JCommandButton button
-
-
Constructor Details
-
TransferableFile
- Parameters:
file
-
-
TransferableFile
public TransferableFile(org.pushingpixels.flamingo.api.common.JCommandButton button)- Parameters:
button
-
-
-
Method Details
-
getTransferData
- Specified by:
getTransferData
in interfaceTransferable
- Throws:
UnsupportedFlavorException
IOException
-
getTransferDataFlavors
- Specified by:
getTransferDataFlavors
in interfaceTransferable
-
isDataFlavorSupported
- Specified by:
isDataFlavorSupported
in interfaceTransferable
-