KeyEvent.getControl

Overview | Methods | Fields | This Package | All Packages

KeyEvent.getControl

Retrieves a boolean value indicating whether the CTRL key was pressed when the event occurred.

Syntax

public boolean getControl()

Return Value

Returns true if the CTRL key was pressed when the event occurred; otherwise, returns false.