static class FileBrowser.MyTextTransferHandler extends javax.swing.TransferHandler
Modifier and Type | Field and Description |
---|---|
(package private) static long |
serialVersionUID |
Constructor and Description |
---|
MyTextTransferHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canImport(javax.swing.TransferHandler.TransferSupport info) |
protected java.awt.datatransfer.Transferable |
createTransferable(javax.swing.JComponent c) |
void |
exportDone(javax.swing.JComponent c,
java.awt.datatransfer.Transferable t,
int action) |
int |
getSourceActions(javax.swing.JComponent c) |
boolean |
importData(javax.swing.TransferHandler.TransferSupport info) |
static final long serialVersionUID
MyTextTransferHandler()
public boolean canImport(javax.swing.TransferHandler.TransferSupport info)
canImport
in class javax.swing.TransferHandler
public boolean importData(javax.swing.TransferHandler.TransferSupport info)
importData
in class javax.swing.TransferHandler
public int getSourceActions(javax.swing.JComponent c)
getSourceActions
in class javax.swing.TransferHandler
protected java.awt.datatransfer.Transferable createTransferable(javax.swing.JComponent c)
createTransferable
in class javax.swing.TransferHandler
public void exportDone(javax.swing.JComponent c, java.awt.datatransfer.Transferable t, int action)
exportDone
in class javax.swing.TransferHandler