Package loci.plugins.shortcut
Class ShortcutTransferHandler
java.lang.Object
javax.swing.TransferHandler
loci.plugins.shortcut.ShortcutTransferHandler
- All Implemented Interfaces:
Serializable
Drag and drop transfer handler for Bio-Formats Plugins Shortcut Window.
- Author:
- Curtis Rueden ctrueden at wisc.edu
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.TransferHandler
TransferHandler.DropLocation, TransferHandler.TransferSupport -
Field Summary
FieldsFields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, LINK, MOVE, NONE -
Constructor Summary
ConstructorsConstructorDescriptionShortcutTransferHandler(ShortcutPanel shortcutPanel) Constructs a new shortcut panel drag and drop transfer handler. -
Method Summary
Modifier and TypeMethodDescriptionbooleancanImport(JComponent comp, DataFlavor[] transferFlavors) booleanimportData(JComponent comp, Transferable t) Methods inherited from class javax.swing.TransferHandler
canImport, createTransferable, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getSourceActions, getVisualRepresentation, importData, setDragImage, setDragImageOffset
-
Field Details
-
shortcutPanel
Associated shortcut panel.
-
-
Constructor Details
-
ShortcutTransferHandler
Constructs a new shortcut panel drag and drop transfer handler.
-
-
Method Details
-
canImport
- Overrides:
canImportin classTransferHandler
-
importData
- Overrides:
importDatain classTransferHandler
-