public static class MouseWheelHandler.KeyGenerator
extends java.lang.Object
| Constructor and Description |
|---|
MouseWheelHandler.KeyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getKey(int stateMask)
The returned String is guaranteed to be equal for two different
invocations with the same stateMask.
|
public static java.lang.String getKey(int stateMask)
Valid stateMasks are SWT.NONE, SWT.CTRL, SWT.COMMAND, SWT.ALT, SWT.SHIFT, SWT.MOD1, SWT.MOD2, SWT.MOD3, SWT.MOD4, SWT.BUTTON* or any combination thereof.
stateMask - the state indicating which buttons/modifiers are activejava.lang.IllegalArgumentException - if the given stateMask is not validCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.