Microsoft SDK for Java

DragProxy Class Constructors

The DragProxy Class contains the following constructors:

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

DragProxy()

Creates a new DragProxy object.

Syntax

public DragProxy();

DragProxy(DragHandler handler)

Creates a new DragProxy object that has the specified drag handler.

Syntax

public DragProxy(DragHandler handler);

Parameters

handler The drag handler to assign to the DragProxy instance.

DragProxy(DragHandler handler, int xOffset, int yOffset)

Creates a new DragProxy object that has the specified drag handler, x offset, and y offset.

Syntax

public DragProxy(DragHandler handler, int xOffset, int yOffset);

Parameters

handler The drag handler for the DragProxy object.
xOffset The x offset for the DragProxy object.
yOffset The y offset for the DragProxy object.

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