|
GEF (MVC) 3.8.1.201211122107 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.MouseWheelHandler.KeyGenerator
public static class MouseWheelHandler.KeyGenerator
A utility class used to generate keys from a given stateMask. A MouseWheelHandler registered with such a key would only be asked to handle mouse-wheel events that have the same stateMask as the one that was used to generate the key.
Constructor Summary | |
---|---|
MouseWheelHandler.KeyGenerator()
|
Method Summary | |
---|---|
static java.lang.String |
getKey(int stateMask)
The returned String is guaranteed to be equal for two different invocations with the same stateMask. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MouseWheelHandler.KeyGenerator()
Method Detail |
---|
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 active
java.lang.IllegalArgumentException
- if the given stateMask is not valid
|
GEF (MVC) 3.8.1.201211122107 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |