List of usage examples for com.google.gwt.event.dom.client HumanInputEvent isAltKeyDown
public boolean isAltKeyDown()
alt key down. From source file:com.ait.lienzo.client.core.event.AbstractNodeHumanInputEvent.java
License:Open Source License
public static final boolean isAltKeyDown(final HumanInputEvent<?> event) { return ((null != event) && (event.isAltKeyDown())); }
From source file:org.eclipse.swt.widgets.Widget.java
License:Open Source License
private static void addStateMasks(HumanInputEvent event, MouseEvent me) { if (event.isShiftKeyDown()) { me.stateMask |= SWT.SHIFT;/*from w ww . j a v a2 s. c om*/ } if (event.isControlKeyDown()) { me.stateMask |= SWT.CONTROL; } if (event.isAltKeyDown()) { me.stateMask |= SWT.ALT; } }