SWT.KEYCODE_BIT

Accelerator constant used to differentiate a key code from a unicode character.

If this bit is set, then the key stroke portion of an accelerator represents a key code. If this bit is not set, then the key stroke portion of an accelerator is a unicode character.

The following expression is false:

<code>((SWT.MOD1 | SWT.MOD2 | 'T') & SWT.KEYCODE_BIT) != 0</code>.

The following expression is true:

<code>((SWT.MOD3 | SWT.F2) & SWT.KEYCODE_BIT) != 0</code>.

(value is (1&lt;&lt;24))

@since 2.1

class SWT
int KEYCODE_BIT;

Meta