uk.co.mullsoft.jean
Class CatalogNodeTransferHandler

java.lang.Object
  extended by javax.swing.TransferHandler
      extended by uk.co.mullsoft.jean.NodeTransferHandler
          extended by uk.co.mullsoft.jean.CatalogNodeTransferHandler
All Implemented Interfaces:
java.io.Serializable

public class CatalogNodeTransferHandler
extends NodeTransferHandler

See Also:
Serialized Form

Field Summary
 
Fields inherited from class uk.co.mullsoft.jean.NodeTransferHandler
api, dataFlavor, dragPosition, mousePosition
 
Fields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, MOVE, NONE
 
Constructor Summary
CatalogNodeTransferHandler(JEANAPI api)
           
 
Method Summary
protected  void cleanup(javax.swing.JComponent c, boolean remove)
           
protected  Node[] exportNodes(javax.swing.JComponent c)
           
protected  void importNodes(javax.swing.JComponent c, Node[] nodesAndParents)
           
 
Methods inherited from class uk.co.mullsoft.jean.NodeTransferHandler
canImport, createTransferable, exportDone, getSourceActions, importData
 
Methods inherited from class javax.swing.TransferHandler
exportAsDrag, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getVisualRepresentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogNodeTransferHandler

public CatalogNodeTransferHandler(JEANAPI api)
Method Detail

exportNodes

protected Node[] exportNodes(javax.swing.JComponent c)
Specified by:
exportNodes in class NodeTransferHandler

importNodes

protected void importNodes(javax.swing.JComponent c,
                           Node[] nodesAndParents)
Specified by:
importNodes in class NodeTransferHandler

cleanup

protected void cleanup(javax.swing.JComponent c,
                       boolean remove)
Specified by:
cleanup in class NodeTransferHandler