public class TableRowTransferHandler
extends javax.swing.TransferHandler
Constructor and Description |
---|
TableRowTransferHandler(javax.swing.JTable table) |
Modifier and Type | Method and Description |
---|---|
boolean |
canImport(javax.swing.TransferHandler.TransferSupport info) |
protected java.awt.datatransfer.Transferable |
createTransferable(javax.swing.JComponent c) |
protected void |
exportDone(javax.swing.JComponent c,
java.awt.datatransfer.Transferable t,
int act) |
int |
getSourceActions(javax.swing.JComponent c) |
boolean |
importData(javax.swing.TransferHandler.TransferSupport info) |
protected java.awt.datatransfer.Transferable createTransferable(javax.swing.JComponent c)
createTransferable
in class javax.swing.TransferHandler
public boolean canImport(javax.swing.TransferHandler.TransferSupport info)
canImport
in class javax.swing.TransferHandler
public int getSourceActions(javax.swing.JComponent c)
getSourceActions
in class javax.swing.TransferHandler
public boolean importData(javax.swing.TransferHandler.TransferSupport info)
importData
in class javax.swing.TransferHandler
protected void exportDone(javax.swing.JComponent c, java.awt.datatransfer.Transferable t, int act)
exportDone
in class javax.swing.TransferHandler