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

com.vaadin.polymer.iron.widget.event.IronOverlayCanceledEvent Maven / Gradle / Ivy

The newest version!
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from vaadin-context-menu project by unknown author
 * that is licensed with Apache-2.0 license.
 */
package com.vaadin.polymer.iron.widget.event;

import com.google.gwt.event.dom.client.DomEvent;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.JavaScriptObject;

/**
 * 

Fired when the overlay is canceled, but before it is closed.

*/ public class IronOverlayCanceledEvent extends DomEvent { public static Type TYPE = new Type( com.vaadin.polymer.iron.event.IronOverlayCanceledEvent.NAME, new IronOverlayCanceledEvent()); public IronOverlayCanceledEvent() { } public Type getAssociatedType() { return TYPE; } protected void dispatch(IronOverlayCanceledEventHandler handler) { handler.onIronOverlayCanceled(this); } public com.vaadin.polymer.iron.event.IronOverlayCanceledEvent getPolymerEvent() { return (com.vaadin.polymer.iron.event.IronOverlayCanceledEvent)super.getNativeEvent(); } /** *

The closing of the overlay can be prevented
by calling event.preventDefault(). The event.detail is the original event that
originated the canceling (e.g. ESC keyboard event or click event outside the overlay).

*/ public JavaScriptObject getEvent() { return getPolymerEvent().getDetail().getEvent(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy