com.vaadin.polymer.vaadin.widget.event.SelectedItemChangedEvent Maven / Gradle / Ivy
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from vaadin-combo-box project by Vaadin Ltd
* that is licensed with Apache-2.0 license.
*/
package com.vaadin.polymer.vaadin.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 selected item changes.
*/
public class SelectedItemChangedEvent extends DomEvent {
public static Type TYPE = new Type(
com.vaadin.polymer.vaadin.event.SelectedItemChangedEvent.NAME, new SelectedItemChangedEvent());
public SelectedItemChangedEvent() {
}
public Type getAssociatedType() {
return TYPE;
}
protected void dispatch(SelectedItemChangedEventHandler handler) {
handler.onSelectedItemChanged(this);
}
public com.vaadin.polymer.vaadin.event.SelectedItemChangedEvent getPolymerEvent() {
return (com.vaadin.polymer.vaadin.event.SelectedItemChangedEvent)super.getNativeEvent();
}
/**
*
*/
public JavaScriptObject getDetail() {
return getPolymerEvent().getDetail().getDetail();
}
/**
* the selected item. Type is the same as the type of items
.
*/
public Object getValue() {
return getPolymerEvent().getDetail().getValue();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy