public class IconKeyPressEvent extends AbstractSmartEvent<IconKeyPressHandler>
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
IconKeyPressEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(IconKeyPressHandler handler) |
static <S extends HasIconKeyPressHandlers & HasHandlers> |
fire(S source,
JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
GwtEvent.Type<IconKeyPressHandler> |
getAssociatedType() |
char |
getCharacter()
character produced by the keypress
|
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 GwtEvent.Type<IconKeyPressHandler> |
getType()
Gets the type associated with this event.
|
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public IconKeyPressEvent(JavaScriptObject jsObj)
public static <S extends HasIconKeyPressHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<IconKeyPressHandler> getType()
protected void dispatch(IconKeyPressHandler handler)
dispatch
in class GwtEvent<IconKeyPressHandler>
public final GwtEvent.Type<IconKeyPressHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<IconKeyPressHandler>
public java.lang.String getKeyName()
public char getCharacter()
public DynamicForm getForm()
public FormItem getItem()
public FormItemIcon getIcon()