Package jmri.jmrix.can.cbus.swing
Class CbusCreateBeanPane.CbTransferHandler
- java.lang.Object
-
- javax.swing.TransferHandler
-
- jmri.jmrix.can.cbus.swing.CbusCreateBeanPane.CbTransferHandler
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CbusCreateBeanPane
protected class CbusCreateBeanPane.CbTransferHandler extends javax.swing.TransferHandler
Handles drop actions containing CBUS event.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CbTransferHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canImport(javax.swing.JComponent c, java.awt.datatransfer.DataFlavor[] transferFlavors)
boolean
importData(javax.swing.JComponent c, java.awt.datatransfer.Transferable t)
-
-
-
Constructor Detail
-
CbTransferHandler
protected CbTransferHandler()
-
-
Method Detail
-
canImport
public boolean canImport(javax.swing.JComponent c, java.awt.datatransfer.DataFlavor[] transferFlavors)
- Overrides:
canImport
in classjavax.swing.TransferHandler
-
importData
public boolean importData(javax.swing.JComponent c, java.awt.datatransfer.Transferable t)
- Overrides:
importData
in classjavax.swing.TransferHandler
-
-