public class JMeterTreeTransferHandler extends TransferHandler
TransferHandler.DropLocation, TransferHandler.TransferSupport
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
Constructor and Description |
---|
JMeterTreeTransferHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canImport(TransferHandler.TransferSupport support) |
protected Transferable |
createTransferable(JComponent c) |
protected void |
exportDone(JComponent source,
Transferable data,
int action) |
int |
getSourceActions(JComponent c) |
boolean |
importData(TransferHandler.TransferSupport support) |
canImport, exportAsDrag, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getVisualRepresentation, importData, setDragImage, setDragImageOffset
public int getSourceActions(JComponent c)
getSourceActions
in class TransferHandler
protected Transferable createTransferable(JComponent c)
createTransferable
in class TransferHandler
protected void exportDone(JComponent source, Transferable data, int action)
exportDone
in class TransferHandler
public boolean canImport(TransferHandler.TransferSupport support)
canImport
in class TransferHandler
public boolean importData(TransferHandler.TransferSupport support)
importData
in class TransferHandler
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.