Microsoft SDK for Java

DragSession Interface

The DragSession Interface of the com.ms.object.dragdrop package defines drag modifiers used with drag-and-drop operations.

public interface DragSession extends TransferSession
{
  // Fields
  public static final int ALT;
  public static final int CONTROL;
  public static final int LBUTTON;
  public static final int MBUTTON;
  public static final int RBUTTON;
  public static final int SHIFT;

  // Methods
  public int getDragModifiers();
}

These constants represent the mouse state and keyboard modifiers such as the CTRL, ALT, and SHIFT keys. In most cases, this interface should be implemented by a class that implements the dragdrop protocol.

Hierarchy

TransferSession  |
  +--DragSession

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