public class IconKeyPressEvent extends AbstractSmartEvent<IconKeyPressHandler>
jsObj
Constructor and Description |
---|
IconKeyPressEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(IconKeyPressHandler handler) |
static <S extends HasIconKeyPressHandlers & com.google.gwt.event.shared.HasHandlers> |
fire(S source,
com.google.gwt.core.client.JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
com.google.gwt.event.shared.GwtEvent.Type<IconKeyPressHandler> |
getAssociatedType() |
char |
getCharacter()
character produced by the keypress
|
FormItem |
getFiringItem()
Returns the
FormItem firing the
event. |
DynamicForm |
getForm()
a pointer to this item's form
|
FormItemIcon |
getIcon()
a pointer to the icon that received the click event.
|
FormItem |
getItem()
a pointer to this form item
|
java.lang.String |
getKeyName()
name of the key pressed
|
static com.google.gwt.event.shared.GwtEvent.Type<IconKeyPressHandler> |
getType()
Gets the type associated with this event.
|
getFiringInstanceAsJavaScriptObject
assertLive, getSource, isLive, kill, revive
public IconKeyPressEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public FormItem getFiringItem()
FormItem
firing the
event.public static <S extends HasIconKeyPressHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static com.google.gwt.event.shared.GwtEvent.Type<IconKeyPressHandler> getType()
protected void dispatch(IconKeyPressHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<IconKeyPressHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<IconKeyPressHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<IconKeyPressHandler>
public java.lang.String getKeyName()
public char getCharacter()
public DynamicForm getForm()
public FormItem getItem()
public FormItemIcon getIcon()