com.levigo.util.swing.dnd
Class VisualRepresentationSupportTransferHandler
java.lang.Object
javax.swing.TransferHandler
com.levigo.util.swing.dnd.VisualRepresentationSupportTransferHandler
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ExportHandlerTransferHandler
public class VisualRepresentationSupportTransferHandler
- extends TransferHandler
A TransferHandler correctly implementing a visual representation of what is being dragged via
TransferHandler.getVisualRepresentation(Transferable)
, which the standard transfer
handler doesn't (at least up to and including 1.6). Unfortunately, this still doesn't cut it, on
Windows, as the underlying platform DnD support for Windows also doesn't correctly implement most
of that stuff.
- See Also:
- Serialized Form
Methods inherited from class javax.swing.TransferHandler |
canImport, canImport, createTransferable, exportDone, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getSourceActions, getVisualRepresentation, importData, importData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisualRepresentationSupportTransferHandler
public VisualRepresentationSupportTransferHandler()
VisualRepresentationSupportTransferHandler
public VisualRepresentationSupportTransferHandler(String property)
exportAsDrag
public void exportAsDrag(JComponent comp,
InputEvent e,
int action)
- Overrides:
exportAsDrag
in class TransferHandler
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.