org.apache.batik.apps.svgbrowser

Class DOMDocumentTree.TreeDragSource

public class DOMDocumentTree.TreeDragSource extends Object implements DragSourceListener, DragGestureListener

The JTree drag source wrapper.
Field Summary
protected DragGestureRecognizerrecognizer
The drag gesture recognizer.
protected DragSourcesource
The drag source.
protected DOMDocumentTreesourceTree
The sourceTree.
protected DOMDocumentTree.TransferableTreeNodetransferable
The transferable tree node(s).
Constructor Summary
TreeDragSource(DOMDocumentTree tree, int actions)
Constructor.
Method Summary
voiddragDropEnd(DragSourceDropEvent dsde)
voiddragEnter(DragSourceDragEvent dsde)
voiddragExit(DragSourceEvent dse)
voiddragGestureRecognized(DragGestureEvent dge)
voiddragOver(DragSourceDragEvent dsde)
voiddropActionChanged(DragSourceDragEvent dsde)

Field Detail

recognizer

protected DragGestureRecognizer recognizer
The drag gesture recognizer.

source

protected DragSource source
The drag source.

sourceTree

protected DOMDocumentTree sourceTree
The sourceTree.

transferable

protected DOMDocumentTree.TransferableTreeNode transferable
The transferable tree node(s).

Constructor Detail

TreeDragSource

public TreeDragSource(DOMDocumentTree tree, int actions)
Constructor.

Parameters: tree The source tree actions The permitted action

Method Detail

dragDropEnd

public void dragDropEnd(DragSourceDropEvent dsde)

dragEnter

public void dragEnter(DragSourceDragEvent dsde)

dragExit

public void dragExit(DragSourceEvent dse)

dragGestureRecognized

public void dragGestureRecognized(DragGestureEvent dge)

dragOver

public void dragOver(DragSourceDragEvent dsde)

dropActionChanged

public void dropActionChanged(DragSourceDragEvent dsde)
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.