public class VisualTransferHandler
extends javax.swing.TransferHandler
Constructor and Description |
---|
VisualTransferHandler() |
Modifier and Type | Method and Description |
---|---|
void |
exportAsDrag(javax.swing.JComponent source,
java.awt.event.InputEvent ev,
int action)
Causes the Swing drag support to be initiated with a drag icon if necessary.
|
canImport, canImport, createTransferable, exportDone, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getSourceActions, getVisualRepresentation, importData, importData, setDragImage, setDragImageOffset
public void exportAsDrag(javax.swing.JComponent source, java.awt.event.InputEvent ev, int action)
exportAsDrag
if getVisualRepresentation
was used in TransferHandler
implementation.
As only Mac OS X supports drag image, the drag icon will actually appear only on this system.exportAsDrag
in class javax.swing.TransferHandler
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License