public class VisualTransferHandler extends TransferHandler
TransferHandler.DropLocation, TransferHandler.TransferSupport
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
Constructor and Description |
---|
VisualTransferHandler() |
Modifier and Type | Method and Description |
---|---|
void |
exportAsDrag(JComponent source,
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(JComponent source, 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 TransferHandler
© Copyrights 2006-2016 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License