java.lang.Object
javax.swing.TransferHandler
org.gjt.sp.jedit.textarea.TextAreaTransferHandler
- All Implemented Interfaces:
Serializable
- Version:
- $Id: TextAreaTransferHandler.java 22943 2013-04-22 11:44:40Z thomasmey $
- Author:
- Slava Pestov
- 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 c, DataFlavor[] flavors) boolean
canImport
(TransferHandler.TransferSupport support) protected Transferable
protected void
exportDone
(JComponent c, Transferable t, int action) int
boolean
importData
(JComponent c, Transferable t) Methods inherited from class javax.swing.TransferHandler
exportAsDrag, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getVisualRepresentation, importData, setDragImage, setDragImageOffset
-
Constructor Details
-
TextAreaTransferHandler
public TextAreaTransferHandler()
-
-
Method Details
-
createTransferable
- Overrides:
createTransferable
in classTransferHandler
-
getSourceActions
- Overrides:
getSourceActions
in classTransferHandler
-
importData
- Overrides:
importData
in classTransferHandler
-
exportDone
- Overrides:
exportDone
in classTransferHandler
-
canImport
- Overrides:
canImport
in classTransferHandler
-
canImport
- Overrides:
canImport
in classTransferHandler
-