public class VisualRepresentationSupportTransferHandler extends TransferHandler
TransferHandler
by showing a visual Representation for the
Transferable
Object to for example show an image of the dragged Component while being
dragged.TransferHandler
,
Serialized FormTransferHandler.DropLocation, TransferHandler.TransferSupport
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
Constructor and Description |
---|
VisualRepresentationSupportTransferHandler() |
VisualRepresentationSupportTransferHandler(String property) |
Modifier and Type | Method and Description |
---|---|
void |
exportAsDrag(JComponent component,
InputEvent inputEvent,
int action) |
canImport, canImport, createTransferable, exportDone, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getSourceActions, getVisualRepresentation, importData, importData, setDragImage, setDragImageOffset
public VisualRepresentationSupportTransferHandler()
public VisualRepresentationSupportTransferHandler(String property)
public void exportAsDrag(JComponent component, InputEvent inputEvent, int action)
exportAsDrag
in class TransferHandler
Copyright © 2024 levigo holding gmbh. All rights reserved.