public class KeyUpEvent extends KeyCodeEvent<KeyUpHandler>
DomEvent.Type<H extends EventHandler>
Modifier | Constructor and Description |
---|---|
protected |
KeyUpEvent()
Protected constructor, use
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers)
to fire key up events. |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(KeyUpHandler handler)
Should only be called by
HandlerManager . |
DomEvent.Type<KeyUpHandler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
static DomEvent.Type<KeyUpHandler> |
getType()
Gets the event type associated with key up events.
|
getNativeKeyCode, isArrow, isDownArrow, isLeftArrow, isRightArrow, isUpArrow, toDebugString
isAltKeyDown, isAnyModifierKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDown
fireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
protected KeyUpEvent()
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers)
to fire key up events.public static DomEvent.Type<KeyUpHandler> getType()
public final DomEvent.Type<KeyUpHandler> getAssociatedType()
Event
Event.Type
used to register this event, allowing an
EventBus
to find handlers of the appropriate class.getAssociatedType
in class DomEvent<KeyUpHandler>
protected void dispatch(KeyUpHandler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.dispatch
in class GwtEvent<KeyUpHandler>
handler
- handlerEventBus.dispatchEvent(Event, Object)
Copyright © 2016. All rights reserved.