public class TableHeaderTransferHandler extends TransferHandler implements UIResource
TransferHandler.DropLocation, TransferHandler.TransferSupport
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
Constructor and Description |
---|
TableHeaderTransferHandler() |
Modifier and Type | Method and Description |
---|---|
protected Transferable |
createTransferable(JComponent c)
Create a Transferable to use as the source for a data transfer.
|
int |
getSourceActions(JComponent c) |
canImport, canImport, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getVisualRepresentation, importData, importData, setDragImage, setDragImageOffset
protected Transferable createTransferable(JComponent c)
createTransferable
in class TransferHandler
c
- The component holding the data to be transfered. This
argument is provided to enable sharing of TransferHandlers by
multiple components.public int getSourceActions(JComponent c)
getSourceActions
in class TransferHandler
Copyright © 2005–2020. All rights reserved.