se.kmr.scam.editor.dnd
Class DocumentTransferHandler

java.lang.Object
  extended byjavax.swing.TransferHandler
      extended byse.kmr.scam.editor.dnd.DocumentTransferHandler
All Implemented Interfaces:
Serializable

public class DocumentTransferHandler
extends TransferHandler

Author:
matthias
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, MOVE, NONE
 
Constructor Summary
DocumentTransferHandler()
          Constructor for DocumentTransferHandler.
DocumentTransferHandler(String property)
          Constructor for DocumentTransferHandler.
 
Method Summary
 boolean canImport(JComponent comp, DataFlavor[] transferFlavors)
           
protected  Transferable createTransferable(JComponent c)
           
 void exportDone(JComponent source, Transferable data, int action)
           
 JComponent getCurrentSource()
           
 int getSourceActions(JComponent c)
           
 
Methods inherited from class javax.swing.TransferHandler
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
 

Constructor Detail

DocumentTransferHandler

public DocumentTransferHandler(String property)
Constructor for DocumentTransferHandler.

Parameters:
property -

DocumentTransferHandler

public DocumentTransferHandler()
Constructor for DocumentTransferHandler.

Method Detail

canImport

public boolean canImport(JComponent comp,
                         DataFlavor[] transferFlavors)

createTransferable

protected Transferable createTransferable(JComponent c)

getSourceActions

public int getSourceActions(JComponent c)

exportDone

public void exportDone(JComponent source,
                       Transferable data,
                       int action)

getCurrentSource

public JComponent getCurrentSource()


Copyright © 2003 SCAM. All Rights Reserved.