public class ListTransferHandler extends TransferHandler
TransferHandler.DropLocation, TransferHandler.TransferSupport
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
Constructor and Description |
---|
ListTransferHandler(JList list) |
Modifier and Type | Method and Description |
---|---|
protected Transferable |
createTransferable(JComponent c) |
int |
getSourceActions(JComponent c) |
canImport, canImport, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getVisualRepresentation, importData, importData, setDragImage, setDragImageOffset
public ListTransferHandler(JList list)
protected Transferable createTransferable(JComponent c)
createTransferable
in class TransferHandler
public int getSourceActions(JComponent c)
getSourceActions
in class TransferHandler
Copyright © 2016. All rights reserved.