All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.polymer.keys.element.event.KeysPressedEvent Maven / Gradle / Ivy

There is a newer version: 1.9.3.1
Show newest version
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from iron-a11y-keys project by The Polymer Authors
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.keys.element.event;

import com.vaadin.polymer.elemental.*;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.js.JsProperty;
import com.google.gwt.core.client.js.JsType;

/**
 * 
 */
@JsType
public interface KeysPressedEvent extends Event {

    static final String NAME = "keys-pressed";

    @Override
    @JsProperty
    Detail getDetail();

    @JsType
    interface Detail extends Event.Detail {

        /**
         * 
         */
        @JsProperty JavaScriptObject getDetail();

        /**
         * 

true if shift key is pressed

*/ @JsProperty boolean getShift(); /** *

true if ctrl key is pressed

*/ @JsProperty boolean getCtrl(); /** *

true if meta key is pressed

*/ @JsProperty boolean getMeta(); /** *

true if alt key is pressed

*/ @JsProperty boolean getAlt(); /** *

the normalized key

*/ @JsProperty String getKey(); } public abstract class Listener implements EventListener { protected abstract void handleEvent(KeysPressedEvent event); @Override public void handleEvent(Event event) { handleEvent((KeysPressedEvent) event); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy