public class BioDropHandler extends TransferHandler
TransferHandler.DropLocation, TransferHandler.TransferSupportCOPY, COPY_OR_MOVE, LINK, MOVE, NONE| Constructor and Description |
|---|
BioDropHandler(VisBioFrame bio)
Constructs a new transfer handler for VisBio file drops.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canImport(JComponent comp,
DataFlavor[] flavors)
Determines whether a drop operation is legal with the given flavors.
|
boolean |
importData(JComponent comp,
Transferable t)
Performs a drop operation with the given transferable component.
|
canImport, createTransferable, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getSourceActions, getVisualRepresentation, importData, setDragImage, setDragImageOffsetpublic BioDropHandler(VisBioFrame bio)
public boolean canImport(JComponent comp, DataFlavor[] flavors)
canImport in class TransferHandlerpublic boolean importData(JComponent comp, Transferable t)
importData in class TransferHandlerCopyright © 2015–2022 SciJava. All rights reserved.