com.vaadin.client.widget.grid.events.
Class GridClickEvent
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<H>
-
- com.google.gwt.event.dom.client.DomEvent<H>
-
- com.google.gwt.event.dom.client.HumanInputEvent<H>
-
- com.google.gwt.event.dom.client.MouseEvent<HANDLER>
-
- com.vaadin.client.widgets.Grid.AbstractGridMouseEvent<AbstractGridMouseEventHandler.GridClickHandler>
-
- com.vaadin.client.widget.grid.events.GridClickEvent
-
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasNativeEvent
Direct Known Subclasses:
public class GridClickEvent extends Grid.AbstractGridMouseEvent<AbstractGridMouseEventHandler.GridClickHandler>
Represents native mouse click event in Grid.
Since:
7.4
Author:
Vaadin Ltd
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridMouseEventHandler.GridClickHandler>
TYPE
DOM event type.
-
Constructor Summary
Constructors Constructor Description GridClickEvent()
GridClickEvent(Grid<?> grid, CellReference<?> targetCell)
Deprecated.
This constructor's arguments are no longer used.
-
Method Summary
All Methods Modifier and Type Method Description protected void
doDispatch(AbstractGridMouseEventHandler.GridClickHandler handler, GridConstants.Section section)
The given handler processes the event if the handler type matches the given section.
com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridMouseEventHandler.GridClickHandler>
getAssociatedType()
protected String
getBrowserEventType()
Returns the
BrowserEvents
type that corresponds with this event.-
Methods inherited from class com.vaadin.client.widgets.Grid.AbstractGridMouseEvent
dispatch, getGrid, getTargetCell, ignoreEventFromTarget
-
Methods inherited from class com.google.gwt.event.dom.client.MouseEvent
getClientX, getClientY, getNativeButton, getRelativeX, getRelativeY, getScreenX, getScreenY, getX, getY
-
Methods inherited from class com.google.gwt.event.dom.client.HumanInputEvent
isAltKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDown
-
Methods inherited from class com.google.gwt.event.dom.client.DomEvent
fireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
-
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
-
-
-
-
Field Detail
-
TYPE
public static final com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridMouseEventHandler.GridClickHandler> TYPE
DOM event type.
-
-
Constructor Detail
-
GridClickEvent
public GridClickEvent()
Since:
7.7.9
-
GridClickEvent
@Deprecated public GridClickEvent(Grid<?> grid, CellReference<?> targetCell)
Deprecated.This constructor's arguments are no longer used. Use the no-args constructor instead.Parameters:
grid
- the grid the event occurred in, not usedtargetCell
- the cell the event targets, not used
-
-
Method Detail
-
getAssociatedType
public com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridMouseEventHandler.GridClickHandler> getAssociatedType()
Specified by:
getAssociatedType
in classcom.google.gwt.event.dom.client.DomEvent<AbstractGridMouseEventHandler.GridClickHandler>
-
getBrowserEventType
protected String getBrowserEventType()
Description copied from class:
Grid.AbstractGridMouseEvent
Returns the
BrowserEvents
type that corresponds with this event.Specified by:
getBrowserEventType
in classGrid.AbstractGridMouseEvent<AbstractGridMouseEventHandler.GridClickHandler>
Returns:
the browser event type
-
doDispatch
protected void doDispatch(AbstractGridMouseEventHandler.GridClickHandler handler, GridConstants.Section section)
Description copied from class:
Grid.AbstractGridMouseEvent
The given handler processes the event if the handler type matches the given section.
Specified by:
doDispatch
in classGrid.AbstractGridMouseEvent<AbstractGridMouseEventHandler.GridClickHandler>
Parameters:
handler
- handlersection
- the section where the target element is located
-
-