Package ca.phon.phontalk.plugin
Class FileTransferHandler
java.lang.Object
javax.swing.TransferHandler
ca.phon.phontalk.plugin.FileTransferHandler
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.TransferHandler
TransferHandler.DropLocation, TransferHandler.TransferSupport
-
Field Summary
Fields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canImport
(JComponent comp, DataFlavor[] transferFlavors) getFile
(Transferable transferable) getFiles
(Transferable transferable) Methods inherited from class javax.swing.TransferHandler
canImport, createTransferable, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getSourceActions, getVisualRepresentation, importData, importData, setDragImage, setDragImageOffset
-
Constructor Details
-
FileTransferHandler
public FileTransferHandler()
-
-
Method Details
-
getFile
- Throws:
IOException
-
getFiles
- Throws:
IOException
-
canImport
- Overrides:
canImport
in classTransferHandler
-