com.vaadin.polymer.iron.widget.event.IronActivateEvent Maven / Gradle / Ivy
The newest version!
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from paper-tabs project by The Polymer Authors
* that is licensed with http://polymer.github.io/LICENSE.txt 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 iron-selector is activated (selected or deselected).
It is fired before the selected items are changed.
Cancel the event to abort selection.
*/
public class IronActivateEvent extends DomEvent {
public static Type TYPE = new Type(
com.vaadin.polymer.iron.event.IronActivateEvent.NAME, new IronActivateEvent());
public IronActivateEvent() {
}
public Type getAssociatedType() {
return TYPE;
}
protected void dispatch(IronActivateEventHandler handler) {
handler.onIronActivate(this);
}
public com.vaadin.polymer.iron.event.IronActivateEvent getPolymerEvent() {
return (com.vaadin.polymer.iron.event.IronActivateEvent)super.getNativeEvent();
}
/**
*
*/
public JavaScriptObject getDetail() {
return getPolymerEvent().getDetail().getDetail();
}
/**
* the item element
*/
public JavaScriptObject getItem() {
return getPolymerEvent().getDetail().getItem();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy