Uses of Class
com.google.gwt.dom.client.NativeEvent
Package
Description
Classes for low-level DOM programming.
Types related to DOM events.
The "cellview" widget set.
Fundamental user-interface classes used in client-side GWT code.
Classes and interfaces used by the
cellview
widget set.-
Uses of NativeEvent in com.google.gwt.cell.client
Modifier and TypeMethodDescriptionvoid
AbstractCell.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) Handle a browser event that took place within the cell.void
AbstractInputCell.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) void
ActionCell.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) void
ButtonCell.onBrowserEvent
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) void
ButtonCellBase.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) void
Cell.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) Handle a browser event that took place within the cell.void
CheckboxCell.onBrowserEvent
(Cell.Context context, Element parent, Boolean value, NativeEvent event, ValueUpdater<Boolean> valueUpdater) void
ClickableTextCell.onBrowserEvent
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) void
CompositeCell.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) void
DatePickerCell.onBrowserEvent
(Cell.Context context, Element parent, Date value, NativeEvent event, ValueUpdater<Date> valueUpdater) void
EditTextCell.onBrowserEvent
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) void
IconCellDecorator.onBrowserEvent
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) void
ImageLoadingCell.onBrowserEvent
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) void
SelectionCell.onBrowserEvent
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) void
TextInputCell.onBrowserEvent
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) protected void
AbstractCell.onEnterKeyDown
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) Called when the user triggers akeydown
event with the ENTER key while focused on the cell.protected void
AbstractInputCell.onEnterKeyDown
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) protected void
ActionCell.onEnterKeyDown
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) protected void
ButtonCell.onEnterKeyDown
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) protected void
ButtonCellBase.onEnterKeyDown
(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater) protected void
ClickableTextCell.onEnterKeyDown
(Cell.Context context, Element parent, String value, NativeEvent event, ValueUpdater<String> valueUpdater) protected void
DatePickerCell.onEnterKeyDown
(Cell.Context context, Element parent, Date value, NativeEvent event, ValueUpdater<Date> valueUpdater) -
Uses of NativeEvent in com.google.gwt.dom.client
Modifier and TypeMethodDescriptionfinal NativeEvent
Document.createBlurEvent()
Creates a 'blur' event.final NativeEvent
Document.createChangeEvent()
Creates a 'change' event.final NativeEvent
Document.createClickEvent
(int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey) Creates a 'click' event.final NativeEvent
Document.createContextMenuEvent()
Creates a 'contextmenu' event.final NativeEvent
Document.createDblClickEvent
(int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey) Creates a 'dblclick' event.final NativeEvent
Document.createErrorEvent()
Creates an 'error' event.final NativeEvent
Document.createFocusEvent()
Creates a 'focus' event.final NativeEvent
Document.createHtmlEvent
(String type, boolean canBubble, boolean cancelable) Creates an event.abstract NativeEvent
DOMImpl.createHtmlEvent
(Document doc, String type, boolean canBubble, boolean cancelable) DOMImplStandard.createHtmlEvent
(Document doc, String type, boolean canBubble, boolean cancelable) Deprecated.final NativeEvent
Document.createInputEvent()
Creates an 'input' event.final NativeEvent
Document.createKeyCodeEvent
(String type, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode) Creates a key-code event ('keydown' or 'keyup').abstract NativeEvent
DOMImpl.createKeyCodeEvent
(Document document, String type, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode) DOMImplMozilla.createKeyCodeEvent
(Document doc, String type, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode) DOMImplStandardBase.createKeyCodeEvent
(Document doc, String type, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode) Deprecated.final NativeEvent
Document.createKeyDownEvent
(boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode) Creates a 'keydown' event.final NativeEvent
Document.createKeyDownEvent
(boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode, int charCode) Deprecated.final NativeEvent
Document.createKeyEvent
(String type, boolean canBubble, boolean cancelable, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode, int charCode) abstract NativeEvent
DOMImpl.createKeyEvent
(Document doc, String type, boolean canBubble, boolean cancelable, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode, int charCode) Deprecated.DOMImplMozilla.createKeyEvent
(Document doc, String type, boolean canBubble, boolean cancelable, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode, int charCode) Deprecated.DOMImplStandardBase.createKeyEvent
(Document doc, String type, boolean canBubble, boolean cancelable, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode, int charCode) Deprecated.final NativeEvent
Document.createKeyPressEvent
(boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int charCode) Creates a 'keypress' event.final NativeEvent
Document.createKeyPressEvent
(boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode, int charCode) Deprecated.as of GWT 2.1 (keypress events don't have a keyCode), useDocument.createKeyPressEvent(boolean, boolean, boolean, boolean, int)
abstract NativeEvent
DOMImpl.createKeyPressEvent
(Document document, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int charCode) DOMImplMozilla.createKeyPressEvent
(Document doc, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int charCode) DOMImplStandardBase.createKeyPressEvent
(Document doc, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int charCode) Deprecated.final NativeEvent
Document.createKeyUpEvent
(boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode) Creates a 'keyup' event.final NativeEvent
Document.createKeyUpEvent
(boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode, int charCode) Deprecated.as of GWT 2.1 (keyup events don't have a charCode), useDocument.createKeyUpEvent(boolean, boolean, boolean, boolean, int)
final NativeEvent
Document.createLoadEvent()
Creates a 'load' event.final NativeEvent
Document.createMouseDownEvent
(int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int button) Creates a 'mousedown' event.final NativeEvent
Document.createMouseEvent
(String type, boolean canBubble, boolean cancelable, int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int button, Element relatedTarget) Creates an mouse event.abstract NativeEvent
DOMImpl.createMouseEvent
(Document doc, String type, boolean canBubble, boolean cancelable, int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int button, Element relatedTarget) DOMImplStandard.createMouseEvent
(Document doc, String type, boolean canBubble, boolean cancelable, int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int button, Element relatedTarget) Deprecated.final NativeEvent
Document.createMouseMoveEvent
(int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int button) Creates a 'mousemove' event.final NativeEvent
Document.createMouseOutEvent
(int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int button, Element relatedTarget) Creates a 'mouseout' event.final NativeEvent
Document.createMouseOverEvent
(int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int button, Element relatedTarget) Creates a 'mouseover' event.final NativeEvent
Document.createMouseUpEvent
(int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int button) Creates a 'mouseup' event.final NativeEvent
Document.createScrollEvent()
Creates a 'scroll' event.Modifier and TypeMethodDescriptionabstract void
DOMImpl.dispatchEvent
(Element target, NativeEvent evt) void
DOMImplStandard.dispatchEvent
(Element target, NativeEvent evt) Deprecated.final void
Element.dispatchEvent
(NativeEvent evt) Dispatched the given event with this element as its target.boolean
DOMImpl.eventGetAltKey
(NativeEvent evt) int
DOMImpl.eventGetButton
(NativeEvent evt) int
DOMImplStandard.eventGetButton
(NativeEvent evt) Deprecated.abstract int
DOMImpl.eventGetCharCode
(NativeEvent evt) int
DOMImplStandard.eventGetCharCode
(NativeEvent evt) Deprecated.int
DOMImpl.eventGetClientX
(NativeEvent evt) int
DOMImpl.eventGetClientY
(NativeEvent evt) boolean
DOMImpl.eventGetCtrlKey
(NativeEvent evt) DOMImpl.eventGetCurrentTarget
(NativeEvent event) DOMImplStandardBase.eventGetCurrentTarget
(NativeEvent event) Deprecated.final int
DOMImpl.eventGetKeyCode
(NativeEvent evt) boolean
DOMImpl.eventGetMetaKey
(NativeEvent evt) int
DOMImpl.eventGetMouseWheelVelocityY
(NativeEvent evt) abstract EventTarget
DOMImpl.eventGetRelatedTarget
(NativeEvent nativeEvent) DOMImplMozilla.eventGetRelatedTarget
(NativeEvent evt) DOMImplStandard.eventGetRelatedTarget
(NativeEvent evt) Deprecated.double
DOMImpl.eventGetRotation
(NativeEvent evt) double
DOMImpl.eventGetScale
(NativeEvent evt) int
DOMImpl.eventGetScreenX
(NativeEvent evt) int
DOMImpl.eventGetScreenY
(NativeEvent evt) boolean
DOMImpl.eventGetShiftKey
(NativeEvent evt) abstract EventTarget
DOMImpl.eventGetTarget
(NativeEvent evt) DOMImplStandard.eventGetTarget
(NativeEvent evt) Deprecated.DOMImplWebkit.eventGetTarget
(NativeEvent evt) Webkit events sometimes target the text node inside of the element instead of the element itself, so we need to get the parent of the text node.final String
DOMImpl.eventGetType
(NativeEvent evt) abstract void
DOMImpl.eventPreventDefault
(NativeEvent evt) void
DOMImplStandard.eventPreventDefault
(NativeEvent evt) Deprecated.void
DOMImpl.eventSetKeyCode
(NativeEvent evt, char key) void
DOMImpl.eventStopPropagation
(NativeEvent evt) abstract String
DOMImpl.eventToString
(NativeEvent evt) DOMImplStandard.eventToString
(NativeEvent evt) Deprecated.DOMImpl.getChangedTouches
(NativeEvent evt) DOMImpl.getTargetTouches
(NativeEvent evt) DOMImpl.getTouches
(NativeEvent evt) -
Uses of NativeEvent in com.google.gwt.event.dom.client
Modifier and TypeMethodDescriptionfinal NativeEvent
DomEvent.getNativeEvent()
HasNativeEvent.getNativeEvent()
Gets the underlying native event.Modifier and TypeMethodDescriptionstatic void
DomEvent.fireNativeEvent
(NativeEvent nativeEvent, HasHandlers handlerSource) Fires the given native event on the specified handlers.static void
DomEvent.fireNativeEvent
(NativeEvent nativeEvent, HasHandlers handlerSource, Element relativeElem) Fires the given native event on the specified handlers.final void
DomEvent.setNativeEvent
(NativeEvent nativeEvent) Sets the native event associated with this dom event. -
Uses of NativeEvent in com.google.gwt.user.cellview.client
Modifier and TypeMethodDescriptionprotected void
CellTreeNodeView.fireEventToCell
(NativeEvent event) Fire an event to theAbstractCell
.void
Column.onBrowserEvent
(Cell.Context context, Element elem, T object, NativeEvent event) Handle a browser event that took place within the column.void
Header.onBrowserEvent
(Cell.Context context, Element elem, NativeEvent event) Handle a browser event that took place within the header.boolean
Header.onPreviewColumnSortEvent
(Cell.Context context, Element elem, NativeEvent event) Preview a browser event that may trigger a column sort event. -
Uses of NativeEvent in com.google.gwt.user.client
Modifier and TypeMethodDescriptionstatic Event
Event.as
(NativeEvent event) Converts theNativeEvent
to Event.static boolean
Event.fireNativePreviewEvent
(NativeEvent nativeEvent) Fire aEvent.NativePreviewEvent
for the native event. -
Uses of NativeEvent in com.google.gwt.view.client
Modifier and TypeMethodDescriptionCellPreviewEvent.getNativeEvent()
Get theNativeEvent
to preview.Modifier and TypeMethodDescriptionstatic <T> CellPreviewEvent
<T> CellPreviewEvent.fire
(HasCellPreviewHandlers<T> source, NativeEvent nativeEvent, HasData<T> display, Cell.Context context, T value, boolean isCellEditing, boolean isSelectionHandled) Fires a cell preview event on all registered handlers in the handler manager.ModifierConstructorDescriptionprotected
CellPreviewEvent
(NativeEvent nativeEvent, HasData<T> display, Cell.Context context, T value, boolean isCellEditing, boolean isSelectionHandled) Construct a newCellPreviewEvent
.
Document.createKeyDownEvent(boolean, boolean, boolean, boolean, int)