Microsoft SDK for Java

findDragObject

This method of the DragHelper Class provides a hit-test of the coordinates in the drag method.

Syntax

protected abstract Object findDragObject(DragSession session, int x, int y);

Return Value

Returns the object that represents the hit result.

Parameters

session The DragSession object that represents the current drag operation.
x The x-coordinate to hit-test.
y The y-coordinate to hit-test.

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