|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.event.shared.GwtEvent<H>
com.smartgwt.client.event.AbstractSmartEvent<KeyUpHandler>
com.smartgwt.client.widgets.form.fields.events.KeyUpEvent
public class KeyUpEvent
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
---|
GwtEvent.Type<H> |
Field Summary |
---|
Fields inherited from class com.smartgwt.client.event.AbstractSmartEvent |
---|
jsObj |
Constructor Summary | |
---|---|
KeyUpEvent(JavaScriptObject jsObj)
|
Method Summary | ||
---|---|---|
void |
cancel()
return false to attempt to cancel the event. |
|
protected void |
dispatch(KeyUpHandler handler)
Should only be called by HandlerManager . |
|
static
|
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<KeyUpHandler> |
getAssociatedType()
Returns the type used to register this event. |
|
DynamicForm |
getForm()
Pointer to the item's form |
|
FormItem |
getItem()
Item over which the keyup occurred |
|
String |
getKeyName()
Name of the key pressed (Example: "A" , "Enter" ) |
|
static GwtEvent.Type<KeyUpHandler> |
getType()
Gets the type associated with this event. |
|
boolean |
isCancelled()
|
Methods inherited from class com.google.gwt.event.shared.GwtEvent |
---|
assertLive, getSource, isLive, kill, revive, toDebugString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeyUpEvent(JavaScriptObject jsObj)
Method Detail |
---|
public static <S extends HasKeyUpHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<KeyUpHandler> getType()
protected void dispatch(KeyUpHandler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.
dispatch
in class GwtEvent<KeyUpHandler>
handler
- handlerpublic final GwtEvent.Type<KeyUpHandler> getAssociatedType()
GwtEvent
getAssociatedType
in class GwtEvent<KeyUpHandler>
public void cancel()
FormItem.addChangeHandler(com.smartgwt.client.widgets.form.fields.events.ChangeHandler)
or
FormItem.setInputTransformer(com.smartgwt.client.widgets.form.FormItemInputTransformer)
instead.
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public FormItem getItem()
public DynamicForm getForm()
public String getKeyName()
"A"
, "Enter"
)
"A"
, "Enter"
)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |