public class ShortcutTransferHandler
extends javax.swing.TransferHandler
Modifier and Type | Field and Description |
---|---|
protected ShortcutPanel |
shortcutPanel
Associated shortcut panel.
|
Constructor and Description |
---|
ShortcutTransferHandler(ShortcutPanel shortcutPanel)
Constructs a new shortcut panel drag and drop transfer handler.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canImport(javax.swing.JComponent comp,
java.awt.datatransfer.DataFlavor[] transferFlavors) |
boolean |
importData(javax.swing.JComponent comp,
java.awt.datatransfer.Transferable t) |
protected ShortcutPanel shortcutPanel
public ShortcutTransferHandler(ShortcutPanel shortcutPanel)
public boolean canImport(javax.swing.JComponent comp, java.awt.datatransfer.DataFlavor[] transferFlavors)
canImport
in class javax.swing.TransferHandler
public boolean importData(javax.swing.JComponent comp, java.awt.datatransfer.Transferable t)
importData
in class javax.swing.TransferHandler
Copyright © 2017 Open Microscopy Environment