com.vaadin.polymer.platinum.widget.event.DeviceChangedEvent Maven / Gradle / Ivy
The newest version!
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from platinum-bluetooth project by The Polymer Authors
* that is licensed with http://polymer.github.io/LICENSE.txt license.
*/
package com.vaadin.polymer.platinum.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 Bluetooth device picked by user gets updated.
*/
public class DeviceChangedEvent extends DomEvent {
public static Type TYPE = new Type(
com.vaadin.polymer.platinum.event.DeviceChangedEvent.NAME, new DeviceChangedEvent());
public DeviceChangedEvent() {
}
public Type getAssociatedType() {
return TYPE;
}
protected void dispatch(DeviceChangedEventHandler handler) {
handler.onDeviceChanged(this);
}
public com.vaadin.polymer.platinum.event.DeviceChangedEvent getPolymerEvent() {
return (com.vaadin.polymer.platinum.event.DeviceChangedEvent)super.getNativeEvent();
}
/**
* device
*/
public JavaScriptObject getThe() {
return getPolymerEvent().getDetail().getThe();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy