insensa.view
Class TreeTransferHandler

java.lang.Object
  extended by javax.swing.TransferHandler
      extended by insensa.view.TreeTransferHandler
All Implemented Interfaces:
java.io.Serializable

public class TreeTransferHandler
extends javax.swing.TransferHandler

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.TransferHandler
javax.swing.TransferHandler.DropLocation, javax.swing.TransferHandler.TransferSupport
 
Field Summary
 
Fields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
 
Constructor Summary
TreeTransferHandler()
           
 
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
 

Constructor Detail

TreeTransferHandler

public TreeTransferHandler()
Method Detail

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)