Microsoft SDK for Java

dragOver

This method of the DragHelper Class notifies the recipient when a source object continues through the space that is defined by a container, window, or object.

Syntax

public int dragOver(DragSession session, int x, int y);

Return Value

Returns one or more of the following values:

NONE, COPY, MOVE, or LINK.

Parameters

session The DragSession object that represents the current drag operation.
x The x-coordinate of the current cursor position.
y The y-coordinate of the current cursor position.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.