package com.ait.toolkit.sencha.touch.client.events.text; import com.ait.toolkit.sencha.shared.client.core.EventObject; import com.ait.toolkit.sencha.touch.client.ui.Text; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.event.dom.client.DomEvent.Type; public class BlurEvent extends EventObject { public static String EVENT_NAME = "blur"; @SuppressWarnings("rawtypes") private Text source; /** * UiBinder implementations */ private static Type<BlurHandler> TYPE = new Type<BlurHandler>(EVENT_NAME, null); public static Type<BlurHandler> getType() { return TYPE; } public static Type<BlurHandler> getAssociatedType() { return TYPE; } public BlurEvent(JavaScriptObject jsObj) { super(jsObj); } @SuppressWarnings("rawtypes") public BlurEvent(Text source, JavaScriptObject nativeEvent) { super(nativeEvent); this.source = source; } /** * @return the source */ @SuppressWarnings("rawtypes") public Text getSource() { return source; } }