Example usage for com.google.gwt.event.dom.client HumanInputEvent isMetaKeyDown

List of usage examples for com.google.gwt.event.dom.client HumanInputEvent isMetaKeyDown

Introduction

In this page you can find the example usage for com.google.gwt.event.dom.client HumanInputEvent isMetaKeyDown.

Prototype

public boolean isMetaKeyDown() 

Source Link

Document

Is meta key down.

Usage

From source file:com.ait.lienzo.client.core.event.AbstractNodeHumanInputEvent.java

License:Open Source License

public static final boolean isMetaKeyDown(final HumanInputEvent<?> event) {
    return ((null != event) && (event.isMetaKeyDown()));
}

From source file:com.allen_sauer.gwt.dnd.client.MouseDragHandler.java

License:Apache License

private boolean toggleKey(HumanInputEvent<?> event) {
    return event.isControlKeyDown() || event.isMetaKeyDown();
}