org.jhotdraw.draw
Class DefaultDrawingViewTransferHandler.SwingDragGestureRecognizer

java.lang.Object
  extended by java.awt.dnd.DragGestureRecognizer
      extended by org.jhotdraw.draw.DefaultDrawingViewTransferHandler.SwingDragGestureRecognizer
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
DefaultDrawingViewTransferHandler

private static class DefaultDrawingViewTransferHandler.SwingDragGestureRecognizer
extends java.awt.dnd.DragGestureRecognizer


Field Summary
 
Fields inherited from class java.awt.dnd.DragGestureRecognizer
component, dragGestureListener, dragSource, events, sourceActions
 
Constructor Summary
DefaultDrawingViewTransferHandler.SwingDragGestureRecognizer(java.awt.dnd.DragGestureListener dgl)
           
 
Method Summary
(package private)  void gestured(javax.swing.JComponent c, java.awt.event.MouseEvent e, int srcActions, int action)
           
protected  void registerListeners()
          register this DragGestureRecognizer's Listeners with the Component
protected  void unregisterListeners()
          unregister this DragGestureRecognizer's Listeners with the Component subclasses must override this method
 
Methods inherited from class java.awt.dnd.DragGestureRecognizer
addDragGestureListener, appendEvent, fireDragGestureRecognized, getComponent, getDragSource, getSourceActions, getTriggerEvent, removeDragGestureListener, resetRecognizer, setComponent, setSourceActions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDrawingViewTransferHandler.SwingDragGestureRecognizer

DefaultDrawingViewTransferHandler.SwingDragGestureRecognizer(java.awt.dnd.DragGestureListener dgl)
Method Detail

gestured

void gestured(javax.swing.JComponent c,
              java.awt.event.MouseEvent e,
              int srcActions,
              int action)

registerListeners

protected void registerListeners()
register this DragGestureRecognizer's Listeners with the Component

Specified by:
registerListeners in class java.awt.dnd.DragGestureRecognizer

unregisterListeners

protected void unregisterListeners()
unregister this DragGestureRecognizer's Listeners with the Component subclasses must override this method

Specified by:
unregisterListeners in class java.awt.dnd.DragGestureRecognizer