Microsoft SDK for Java

setHandler

The setHandler method of the DragProxy Class contains the following signatures:

setHandler(DragHandler handler)
setHandler(DragHandler handler, int xOffset, int yOffset)

setHandler(DragHandler handler)

Sets the drag handler for the DragProxy object.

Syntax

public void setHandler(DragHandler handler);

Parameters

handler The new handler for the DragProxy object.

setHandler(DragHandler handler, int xOffset, int yOffset)

Sets the drag handler and the x and y offsets for the DragProxy object.

Syntax

public void setHandler(DragHandler handler, int xOffset, int yOffset);

Parameters

handler The new handler for the DragProxy object.
xOffset The new x offset for the DragProxy object.
yoffset The new y offset for the DragProxy object.

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