|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.tools.dnd.ComponentDragGestureListener
public class ComponentDragGestureListener
A custom DragGestureListener class that accepts DefaultDnDCatcher as one of the parameters and invokes its startDragAction() method on dragGestureRecognized event.
Constructor Summary | |
---|---|
ComponentDragGestureListener(DefaultDnDCatcher dndCatcher,
java.awt.dnd.DragSourceListener dsl)
Note that DefaultDnDCatcher is a DragSourceListener itself, so dndCatcher and dsl can be the same object. |
Method Summary | |
---|---|
void |
dragGestureRecognized(java.awt.dnd.DragGestureEvent dge)
A DragGestureRecognizer has detected a
platform-dependent drag initiating gesture and is notifying
this listener in order for it to initiate the action for the
user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentDragGestureListener(DefaultDnDCatcher dndCatcher, java.awt.dnd.DragSourceListener dsl)
Method Detail |
---|
public void dragGestureRecognized(java.awt.dnd.DragGestureEvent dge)
DragGestureRecognizer
has detected a
platform-dependent drag initiating gesture and is notifying
this listener in order for it to initiate the action for the
user.
dragGestureRecognized
in interface java.awt.dnd.DragGestureListener
dge
- the DragGestureEvent
describing the
gesture that has just occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |