O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The DragSourceListener

The DragSourceListener provides drag over effects during the drag-and-drop operation. These drag over effects provide visual feedback while the cursor is over a component. However, they do not permanently change the appearance of components.

interface DragSourceListener
{
  public void dragEnter( DragSourceDragEvent e );
  public void dragOver( DragSourceDragEvent e );
  public void dragExit( DragSourceEvent e );
  public void dragDropEnd( DragSourceDropEvent e );
  public void dropActionChanged( DragSourceDragEvent e );
}

Most of the time, the DragSourceListener displays drag over effects by changing the mouse cursor. Two cursors are available—a drop cursor and a non-drop cursor. The non-drop cursor is displayed when over anything ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required