KeyEvent.doit

A flag indicating whether the operation should be allowed. Setting this field to <code>false</code> will cancel the operation.

class KeyEvent
bool doit;

Meta