insensa.view
Class TreeTransferHandler
java.lang.Object
javax.swing.TransferHandler
insensa.view.TreeTransferHandler
- All Implemented Interfaces:
- java.io.Serializable
public class TreeTransferHandler
- extends javax.swing.TransferHandler
- 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 comp,
java.awt.datatransfer.DataFlavor[] transferFlavors)
|
boolean |
canImport(javax.swing.TransferHandler.TransferSupport support)
|
protected java.awt.datatransfer.Transferable |
createTransferable(javax.swing.JComponent c)
Da ich Transferable Objekte nicht benutze, muss hier einfach irgend etwas
zuruekgegeben werden, nut nicht null. |
int |
getSourceActions(javax.swing.JComponent c)
|
boolean |
importData(javax.swing.TransferHandler.TransferSupport support)
|
Methods inherited from class javax.swing.TransferHandler |
exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getVisualRepresentation, importData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeTransferHandler
public TreeTransferHandler()
canImport
public boolean canImport(javax.swing.JComponent comp,
java.awt.datatransfer.DataFlavor[] transferFlavors)
- Overrides:
canImport
in class javax.swing.TransferHandler
- See Also:
TransferHandler.canImport(javax.swing.JComponent, java.awt.datatransfer.DataFlavor[])
canImport
public boolean canImport(javax.swing.TransferHandler.TransferSupport support)
- Overrides:
canImport
in class javax.swing.TransferHandler
- See Also:
TransferHandler.canImport(javax.swing.TransferHandler.TransferSupport)
createTransferable
protected java.awt.datatransfer.Transferable createTransferable(javax.swing.JComponent c)
- Da ich Transferable Objekte nicht benutze, muss hier einfach irgend etwas
zuruekgegeben werden, nut nicht null.
- Overrides:
createTransferable
in class javax.swing.TransferHandler
- Parameters:
c
-
- Returns:
getSourceActions
public int getSourceActions(javax.swing.JComponent c)
- Overrides:
getSourceActions
in class javax.swing.TransferHandler
- See Also:
TransferHandler.getSourceActions(javax.swing.JComponent)
importData
public boolean importData(javax.swing.TransferHandler.TransferSupport support)
- Overrides:
importData
in class javax.swing.TransferHandler
- See Also:
TransferHandler.importData(javax.swing.TransferHandler.TransferSupport)