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
FieldsModifier and TypeFieldDescriptionprotected org.pushingpixels.flamingo.api.common.JCommandButtonstatic DataFlavorprotected Filestatic DataFlavorstatic DataFlavor[] -
Constructor Summary
ConstructorsConstructorDescriptionTransferableFile(File file)TransferableFile(org.pushingpixels.flamingo.api.common.JCommandButton button) -
Method Summary
Modifier and TypeMethodDescriptiongetTransferData(DataFlavor flavor)booleanisDataFlavorSupported(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:
getTransferDatain interfaceTransferable- Throws:
UnsupportedFlavorExceptionIOException
-
getTransferDataFlavors
- Specified by:
getTransferDataFlavorsin interfaceTransferable
-
isDataFlavorSupported
- Specified by:
isDataFlavorSupportedin interfaceTransferable
-