public class TestPropertyTransferHandler extends TransferHandler
TransferHandler.DropLocation, TransferHandler.TransferSupport
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
Modifier and Type | Method and Description |
---|---|
static <T extends JComponent> |
enable(T component) |
void |
exportAsDrag(JComponent comp,
InputEvent e,
int action) |
void |
exportToClipboard(JComponent comp,
Clipboard clip,
int action) |
canImport, canImport, createTransferable, exportDone, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getSourceActions, getVisualRepresentation, importData, importData, setDragImage, setDragImageOffset
public static <T extends JComponent> T enable(T component)
public void exportToClipboard(JComponent comp, Clipboard clip, int action) throws IllegalStateException
exportToClipboard
in class TransferHandler
IllegalStateException
public void exportAsDrag(JComponent comp, InputEvent e, int action)
exportAsDrag
in class TransferHandler
Copyright © 2019. All rights reserved.