Microsoft SDK for Java

DragProxy Class

The DragProxy Class of the com.ms.object.dragdrop package provides a DragHandler implementation that forwards calls to another specified DragHandler. Optionally, x and y offsets can be set and retrieved for a DragProxy object.

public class DragProxy implements DragHandler
{
  // Constructors
  public DragProxy();
  public DragProxy(DragHandler handler);
  public DragProxy(DragHandler handler, int xOffset, int yOffset);

  // Methods
  public void dragEnter(DragSession session);
  public void dragLeave();
  public int dragOver(DragSession session, int x, int y);
  public void drop(DragSession session, int x, int y);
  public DragHandler getHandler();
  public Point getOffset();
  public void setHandler(DragHandler handler);
  public void setHandler(DragHandler handler, int xOffset,
        int yOffset);
  public void setOffset(Point offset);
  public void setOffset(int xOffset, int yOffset);
}

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