Class GridDoubleClickEvent
- 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.GridDoubleClickHandler>
-
- com.vaadin.client.widget.grid.events.GridDoubleClickEvent
-
- All Implemented Interfaces:
com.google.gwt.event.dom.client.HasNativeEvent
- Direct Known Subclasses:
TreeGridDoubleClickEvent
public class GridDoubleClickEvent extends Grid.AbstractGridMouseEvent<AbstractGridMouseEventHandler.GridDoubleClickHandler>
Represents native mouse double 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.GridDoubleClickHandler>TYPEDOM event type.
-
Constructor Summary
Constructors Constructor Description GridDoubleClickEvent()GridDoubleClickEvent(Grid<?> grid, CellReference<?> targetCell)Deprecated.This constructor's arguments are no longer used.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoDispatch(AbstractGridMouseEventHandler.GridDoubleClickHandler 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.GridDoubleClickHandler>getAssociatedType()protected StringgetBrowserEventType()Returns theBrowserEventstype 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.GridDoubleClickHandler> TYPE
DOM event type.
-
-
Constructor Detail
-
GridDoubleClickEvent
public GridDoubleClickEvent()
- Since:
- 7.7.9
-
GridDoubleClickEvent
@Deprecated public GridDoubleClickEvent(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.GridDoubleClickHandler> getAssociatedType()
- Specified by:
getAssociatedTypein classcom.google.gwt.event.dom.client.DomEvent<AbstractGridMouseEventHandler.GridDoubleClickHandler>
-
getBrowserEventType
protected String getBrowserEventType()
Description copied from class:Grid.AbstractGridMouseEventReturns theBrowserEventstype that corresponds with this event.- Specified by:
getBrowserEventTypein classGrid.AbstractGridMouseEvent<AbstractGridMouseEventHandler.GridDoubleClickHandler>- Returns:
- the browser event type
-
doDispatch
protected void doDispatch(AbstractGridMouseEventHandler.GridDoubleClickHandler handler, GridConstants.Section section)
Description copied from class:Grid.AbstractGridMouseEventThe given handler processes the event if the handler type matches the given section.- Specified by:
doDispatchin classGrid.AbstractGridMouseEvent<AbstractGridMouseEventHandler.GridDoubleClickHandler>- Parameters:
handler- handlersection- the section where the target element is located
-
-