Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.getInputKey

Retrieves a boolean value indicating whether the control processes the specified keyboard input.

Syntax

protected boolean getInputKey( int keyData )

Parameters

keyData

An integer that represents the keyboard input to test. You can specify a constant defined in the Key class for this parameter.

Return Value

Returns true if the control will process the keyboard input specified by keyData; returns false if the system will process the keyboard input.