Interface DragDestination
All Packages Class Hierarchy This Package Previous Next Index
Interface DragDestination
public interface netscape.application.DragDestination
{
/* Methods
*/
public abstract boolean dragDropped(DragSession);
public abstract boolean dragEntered(DragSession);
public abstract void dragExited(DragSession);
public abstract boolean dragMoved(DragSession);
}
Interface for objects interested in receiving dragged objects.
A DragSession, an object representing the object currently being dragged
and managing the modal drag session itself, calls these methods at various
times during a drag session. The current DragDestination is the object
returned by the acceptsDrag() method of the View currently under the
mouse.
- See Also:
- acceptsDrag, DragSession
Methods
public abstract boolean dragEntered(DragSession session)
- Called when the user drags an object into a View. The receiver should
return true if it would accept the object if the user released
it at its current location.
public abstract boolean dragMoved(DragSession session)
- Called when the user drags an object within a View. The receiver
should return true if it would accept the object if the user
released it at its current location.
public abstract void dragExited(DragSession session)
- Called when the user drags an object out of a View.
public abstract boolean dragDropped(DragSession session)
- Called when the user drops an object on a View.
All Packages Class Hierarchy This Package Previous Next Index
Copyright © 1997 Netscape Communications Corporation. All rights reserved
Please send any comments or corrections to ifcfeedback@netscape.com
HTML generated on 21 Oct 1997