O'Reilly logo

PURE Java™ 2 by Kenneth Litwak

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

java.awt.dnd Interface and Class Details

This package provides classes and interfaces to enable drag and drop between applications. Both Java and non-Java applications can be sources or targets. A Java program must be either the source or the target.

Interface Autoscroll

public abstract interface Autoscroll
						

The Autoscroll interface is used by classes that might be drop targets and have scrollable regions that might not be visible.

Methods
public Insets
								getAutoscrollInsets()
public void      autoscroll(Point cursorLocn)

Interface DragGestureListener

public abstract interface DragGestureListener
                              extends EventListener

This interface should be implemented by any class that wants to receive notification of a drag-and-drop operation being initiated. ...

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