SWT.MODIFIER_MASK

Keyboard and/or mouse event mask indicating all possible keyboard modifiers.

To allow for the future, this mask is intended to be used in place of code that references each individual keyboard mask. For example, the following expression will determine whether any modifier is pressed and will continue to work as new modifier masks are added.

<code>(stateMask & SWT.MODIFIER_MASK) != 0</code>.

@since 2.1

class SWT
int MODIFIER_MASK;

Meta