Package | Description |
---|---|
com.google.gwt.cell.client | |
com.google.gwt.dom.client |
Classes for low-level DOM programming.
|
com.google.gwt.event.dom.client |
Types related to DOM events.
|
com.google.gwt.user.cellview.client |
The "cellview" widget set.
|
com.google.gwt.user.client |
Fundamental user-interface classes used in client-side GWT code.
|
com.google.gwt.view.client |
Classes and interfaces used by the
cellview widget set. |
Modifier and Type | Method and Description |
---|---|
void |
CheckboxCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.Boolean value,
NativeEvent event,
ValueUpdater<java.lang.Boolean> valueUpdater) |
void |
IconCellDecorator.onBrowserEvent(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
void |
CompositeCell.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 |
ButtonCellBase.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 |
AbstractInputCell.onBrowserEvent(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
void |
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 |
DatePickerCell.onBrowserEvent(Cell.Context context,
Element parent,
java.util.Date value,
NativeEvent event,
ValueUpdater<java.util.Date> valueUpdater) |
void |
TextInputCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
void |
SelectionCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
void |
ImageLoadingCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
void |
EditTextCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
void |
ClickableTextCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
void |
ButtonCell.onBrowserEvent(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
protected void |
ButtonCellBase.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 |
AbstractInputCell.onEnterKeyDown(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
protected void |
AbstractCell.onEnterKeyDown(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater)
Called when the user triggers a
keydown event with the ENTER
key while focused on the cell. |
protected void |
DatePickerCell.onEnterKeyDown(Cell.Context context,
Element parent,
java.util.Date value,
NativeEvent event,
ValueUpdater<java.util.Date> valueUpdater) |
protected void |
ClickableTextCell.onEnterKeyDown(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
protected void |
ButtonCell.onEnterKeyDown(Cell.Context context,
Element parent,
java.lang.String value,
NativeEvent event,
ValueUpdater<java.lang.String> valueUpdater) |
Modifier and Type | Method and Description |
---|---|
NativeEvent |
Document.createBlurEvent()
Creates a 'blur' event.
|
NativeEvent |
Document.createChangeEvent()
Creates a 'change' event.
|
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.
|
NativeEvent |
Document.createContextMenuEvent()
Creates a 'contextmenu' event.
|
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.
|
NativeEvent |
Document.createErrorEvent()
Creates an 'error' event.
|
NativeEvent |
Document.createFocusEvent()
Creates a 'focus' event.
|
NativeEvent |
DOMImplTrident.createHtmlEvent(Document doc,
java.lang.String type,
boolean canBubble,
boolean cancelable) |
NativeEvent |
DOMImplStandard.createHtmlEvent(Document doc,
java.lang.String type,
boolean canBubble,
boolean cancelable) |
abstract NativeEvent |
DOMImpl.createHtmlEvent(Document doc,
java.lang.String type,
boolean canBubble,
boolean cancelable) |
NativeEvent |
Document.createHtmlEvent(java.lang.String type,
boolean canBubble,
boolean cancelable)
Creates an event.
|
NativeEvent |
Document.createInputEvent()
Creates an 'input' event.
|
NativeEvent |
DOMImplTrident.createKeyCodeEvent(Document doc,
java.lang.String type,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int keyCode) |
NativeEvent |
DOMImplStandardBase.createKeyCodeEvent(Document doc,
java.lang.String type,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int keyCode) |
NativeEvent |
DOMImplMozilla.createKeyCodeEvent(Document doc,
java.lang.String type,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int keyCode) |
abstract NativeEvent |
DOMImpl.createKeyCodeEvent(Document document,
java.lang.String type,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int keyCode) |
NativeEvent |
Document.createKeyCodeEvent(java.lang.String type,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int keyCode)
Creates a key-code event ('keydown' or 'keyup').
|
NativeEvent |
Document.createKeyDownEvent(boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int keyCode)
Creates a 'keydown' event.
|
NativeEvent |
Document.createKeyDownEvent(boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int keyCode,
int charCode)
Deprecated.
as of GWT2.1 (keydown events don't have a charCode), use
Document.createKeyDownEvent(boolean, boolean, boolean, boolean, int) |
NativeEvent |
DOMImplTrident.createKeyEvent(Document doc,
java.lang.String type,
boolean canBubble,
boolean cancelable,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int keyCode,
int charCode)
Deprecated.
|
NativeEvent |
DOMImplStandardBase.createKeyEvent(Document doc,
java.lang.String type,
boolean canBubble,
boolean cancelable,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int keyCode,
int charCode)
Deprecated.
|
NativeEvent |
DOMImplMozilla.createKeyEvent(Document doc,
java.lang.String type,
boolean canBubble,
boolean cancelable,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int keyCode,
int charCode)
Deprecated.
|
abstract NativeEvent |
DOMImpl.createKeyEvent(Document doc,
java.lang.String type,
boolean canBubble,
boolean cancelable,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int keyCode,
int charCode)
Deprecated.
|
NativeEvent |
Document.createKeyEvent(java.lang.String type,
boolean canBubble,
boolean cancelable,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int keyCode,
int charCode)
|
NativeEvent |
Document.createKeyPressEvent(boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int charCode)
Creates a 'keypress' event.
|
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), use
Document.createKeyPressEvent(boolean, boolean, boolean, boolean, int) |
NativeEvent |
DOMImplTrident.createKeyPressEvent(Document doc,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int charCode) |
NativeEvent |
DOMImplStandardBase.createKeyPressEvent(Document doc,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int charCode) |
NativeEvent |
DOMImplMozilla.createKeyPressEvent(Document doc,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int charCode) |
abstract NativeEvent |
DOMImpl.createKeyPressEvent(Document document,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int charCode) |
NativeEvent |
Document.createKeyUpEvent(boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int keyCode)
Creates a 'keyup' event.
|
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), use
Document.createKeyUpEvent(boolean, boolean, boolean, boolean, int) |
NativeEvent |
Document.createLoadEvent()
Creates a 'load' event.
|
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.
|
NativeEvent |
DOMImplTrident.createMouseEvent(Document doc,
java.lang.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) |
NativeEvent |
DOMImplStandard.createMouseEvent(Document doc,
java.lang.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) |
abstract NativeEvent |
DOMImpl.createMouseEvent(Document doc,
java.lang.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) |
NativeEvent |
Document.createMouseEvent(java.lang.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.
|
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.
|
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.
|
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.
|
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.
|
NativeEvent |
Document.createScrollEvent()
Creates a 'scroll' event.
|
Modifier and Type | Method and Description |
---|---|
NativeEvent |
HasNativeEvent.getNativeEvent()
Gets the underlying native event.
|
NativeEvent |
DomEvent.getNativeEvent() |
Modifier and Type | Method and Description |
---|---|
static 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.
|
void |
DomEvent.setNativeEvent(NativeEvent nativeEvent)
Sets the native event associated with this dom event.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CellTreeNodeView.fireEventToCell(NativeEvent event)
Fire an event to the
AbstractCell . |
void |
Header.onBrowserEvent(Cell.Context context,
Element elem,
NativeEvent event)
Handle a browser event that took place within the header.
|
void |
Column.onBrowserEvent(Cell.Context context,
Element elem,
T object,
NativeEvent event)
Handle a browser event that took place within the column.
|
boolean |
Header.onPreviewColumnSortEvent(Cell.Context context,
Element elem,
NativeEvent event)
Preview a browser event that may trigger a column sort event.
|
Modifier and Type | Class and Description |
---|---|
class |
Event
An opaque handle to a native DOM Event.
|
Modifier and Type | Method and Description |
---|---|
NativeEvent |
Event.NativePreviewEvent.getNativeEvent() |
Modifier and Type | Method and Description |
---|---|
static Event |
Event.as(NativeEvent event)
Converts the
NativeEvent to Event. |
static boolean |
Event.fireNativePreviewEvent(NativeEvent nativeEvent)
Fire a
Event.NativePreviewEvent for the native event. |
Modifier and Type | Method and Description |
---|---|
NativeEvent |
CellPreviewEvent.getNativeEvent()
Get the
NativeEvent to preview. |
Modifier and Type | Method and Description |
---|---|
static <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.
|
Constructor and Description |
---|
CellPreviewEvent(NativeEvent nativeEvent,
HasData<T> display,
Cell.Context context,
T value,
boolean isCellEditing,
boolean isSelectionHandled)
Construct a new
CellPreviewEvent . |