org.jhotdraw.contrib.dnd
Class DNDHelper

java.lang.Object
  extended by org.jhotdraw.contrib.dnd.DNDHelper

public abstract class DNDHelper
extends java.lang.Object

Changes made in hopes of eventually cleaning up the functionality and distributing it sensibly. 1/10/02

Version:
<$CURRENT_VERSION$>
Author:
C.L.Gilbert

Field Summary
static java.awt.datatransfer.DataFlavor ASCIIFlavor
           
 
Constructor Summary
DNDHelper(boolean newIsDragSource, boolean newIsDropTarget)
           
 
Method Summary
 void deinitialize()
           
 java.awt.dnd.DragSourceListener getDragSourceListener()
           
 void initialize(java.awt.dnd.DragGestureListener dgl)
          Do not call this from the constructor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ASCIIFlavor

public static java.awt.datatransfer.DataFlavor ASCIIFlavor
Constructor Detail

DNDHelper

public DNDHelper(boolean newIsDragSource,
                 boolean newIsDropTarget)
Method Detail

initialize

public void initialize(java.awt.dnd.DragGestureListener dgl)
Do not call this from the constructor. its methods are overridable.


deinitialize

public void deinitialize()

getDragSourceListener

public java.awt.dnd.DragSourceListener getDragSourceListener()