Microsoft SDK for Java

DragEvent.keyState

Specifies the current state of the SHIFT, CTRL, and ALT keys.

Syntax

public final int keyState;

Remarks

Valid values are obtained by applying the bitwise OR operation (|) to the Key.SHIFT, Key.CONTROL, and Key.ALT constants defined in the Key class.

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