Overview | Methods | Fields | This Package | All Packages
Creates a KeyEvent object.
Syntax
public KeyEvent( int keyData )
public KeyEvent( Object extendedInfo, int keyData )
Parameters
keyData
An integer that specifies the key constant for the key the user pressed and indicates which, if any, of the CTRL, SHIFT, and ALT keys were pressed at the same time. Possible values are obtained by applying the bitwise OR operation (|) to constants from the Key class.
extendedInfo
Additional information supplied by com.ms.wfc.html events. You should not pass a value for this parameter outside the context of the com.ms.wfc.html package. For more information, see Event.extendedInfo and DhEventInfo.