Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mitre.cvw
Class DragSourceAdapter  view DragSourceAdapter download DragSourceAdapter.java

java.lang.Object
  extended byorg.mitre.cvw.DragSourceAdapter
All Implemented Interfaces:
java.awt.dnd.DragSourceListener, java.util.EventListener

public abstract class DragSourceAdapter
extends java.lang.Object
implements java.awt.dnd.DragSourceListener

An abstract adapter class for receiving drag events. The methods in this class are empty. This class exists as convenience for creating listener objects.

Extend this class to create a DragSourceEvent listener and override the methods for the events of interest. (If you implement the DragSourceListener interface, you have to define all of the methods in it. This abstract class defines null methods for them all, so you can only have to define methods for events you care about.)

Version:
1.0 04/30/99

Constructor Summary
DragSourceAdapter()
           
 
Method Summary
 void dragDropEnd(java.awt.dnd.DragSourceDropEvent dsde)
          Invoked as the operation completes
 void dragEnter(java.awt.dnd.DragSourceDragEvent dsde)
          Invoked as the hotspot enters a platform dependent drop site
 void dragExit(java.awt.dnd.DragSourceEvent dse)
          Invoked as the hotspot exits a platform dependent drop site
 void dragOver(java.awt.dnd.DragSourceDragEvent dsde)
          Invoked as the hotspot moves over a platform dependent drop site
 void dropActionChanged(java.awt.dnd.DragSourceDragEvent dsde)
          Invoked when the user has modified the drop gesture
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DragSourceAdapter

public DragSourceAdapter()
Method Detail

dragEnter

public void dragEnter(java.awt.dnd.DragSourceDragEvent dsde)
Invoked as the hotspot enters a platform dependent drop site

Specified by:
dragEnter in interface java.awt.dnd.DragSourceListener

dragOver

public void dragOver(java.awt.dnd.DragSourceDragEvent dsde)
Invoked as the hotspot moves over a platform dependent drop site

Specified by:
dragOver in interface java.awt.dnd.DragSourceListener

dropActionChanged

public void dropActionChanged(java.awt.dnd.DragSourceDragEvent dsde)
Invoked when the user has modified the drop gesture

Specified by:
dropActionChanged in interface java.awt.dnd.DragSourceListener

dragExit

public void dragExit(java.awt.dnd.DragSourceEvent dse)
Invoked as the hotspot exits a platform dependent drop site

Specified by:
dragExit in interface java.awt.dnd.DragSourceListener

dragDropEnd

public void dragDropEnd(java.awt.dnd.DragSourceDropEvent dsde)
Invoked as the operation completes

Specified by:
dragDropEnd in interface java.awt.dnd.DragSourceListener