edu.northwestern.at.wordhoard.swing.bibtool
Class WorkSetPanel.WorkTreeTransferHandler
java.lang.Object
javax.swing.TransferHandler
edu.northwestern.at.wordhoard.swing.bibtool.WorkSetPanel.WorkTreeTransferHandler
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- WorkSetPanel
public class WorkSetPanel.WorkTreeTransferHandler
- extends javax.swing.TransferHandler
TransferHandler for drag and drop
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class javax.swing.TransferHandler |
javax.swing.TransferHandler.DropLocation, javax.swing.TransferHandler.TransferSupport |
Fields inherited from class javax.swing.TransferHandler |
COPY, COPY_OR_MOVE, LINK, MOVE, NONE |
Method Summary |
boolean |
canImport(javax.swing.JComponent c,
java.awt.datatransfer.DataFlavor[] flavors)
|
protected java.awt.datatransfer.Transferable |
createTransferable(javax.swing.JComponent c)
|
protected void |
exportDone(javax.swing.JComponent c,
java.awt.datatransfer.Transferable data,
int action)
|
int |
getSourceActions(javax.swing.JComponent c)
|
boolean |
importData(javax.swing.JComponent c,
java.awt.datatransfer.Transferable t)
|
Methods inherited from class javax.swing.TransferHandler |
canImport, exportAsDrag, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getVisualRepresentation, importData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
SearchCriteriaTransferData data
xferFlavor
java.awt.datatransfer.DataFlavor xferFlavor
xferType
java.lang.String xferType
WorkSetPanel.WorkTreeTransferHandler
public WorkSetPanel.WorkTreeTransferHandler()
WorkSetPanel.WorkTreeTransferHandler
public WorkSetPanel.WorkTreeTransferHandler(java.lang.String property)
importData
public boolean importData(javax.swing.JComponent c,
java.awt.datatransfer.Transferable t)
- Overrides:
importData
in class javax.swing.TransferHandler
exportDone
protected void exportDone(javax.swing.JComponent c,
java.awt.datatransfer.Transferable data,
int action)
- Overrides:
exportDone
in class javax.swing.TransferHandler
canImport
public boolean canImport(javax.swing.JComponent c,
java.awt.datatransfer.DataFlavor[] flavors)
- Overrides:
canImport
in class javax.swing.TransferHandler
createTransferable
protected java.awt.datatransfer.Transferable createTransferable(javax.swing.JComponent c)
- Overrides:
createTransferable
in class javax.swing.TransferHandler
getSourceActions
public int getSourceActions(javax.swing.JComponent c)
- Overrides:
getSourceActions
in class javax.swing.TransferHandler