public class VitalTransferHandler extends TransferHandler
TransferHandler.DropLocation, TransferHandler.TransferSupport
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
Constructor and Description |
---|
VitalTransferHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canImport(JComponent comp,
DataFlavor[] flavors) |
boolean |
importData(JComponent comp,
Transferable t) |
canImport, createTransferable, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getSourceActions, getVisualRepresentation, importData, setDragImage, setDragImageOffset
public boolean canImport(JComponent comp, DataFlavor[] flavors)
canImport
in class TransferHandler
public boolean importData(JComponent comp, Transferable t)
importData
in class TransferHandler
Copyright © 2016. All rights reserved.