Class Grid.AbstractGridMouseEvent<HANDLER extends AbstractGridMouseEventHandler>

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.gwt.event.dom.client.DomEvent

        com.google.gwt.event.dom.client.DomEvent.Type<H extends com.google.gwt.event.shared.EventHandler>
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void dispatch​(HANDLER handler)  
      protected abstract void doDispatch​(HANDLER handler, GridConstants.Section section)  
      protected abstract String getBrowserEventType()  
      Grid<?> getGrid()
      Gets the Grid instance for this event, if it originated from a Grid.
      CellReference<?> getTargetCell()
      Gets the reference of target cell for this event, if this event originated from a Grid.
      • 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, getAssociatedType, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
      • Methods inherited from class com.google.gwt.event.shared.GwtEvent

        assertLive, getSource, isLive, kill, revive
      • Methods inherited from class com.google.web.bindery.event.shared.Event

        setSource, toDebugString, toString
    • Constructor Detail

      • AbstractGridMouseEvent

        public AbstractGridMouseEvent()
        Since:
        7.7.9
      • AbstractGridMouseEvent

        @Deprecated
        public AbstractGridMouseEvent​(Grid<?> grid,
                                      CellReference<?> targetCell)
        Deprecated.
        This constructor's arguments are no longer used. Use the no-args constructor instead.
    • Method Detail

      • getBrowserEventType

        protected abstract String getBrowserEventType()
      • getGrid

        public Grid<?> getGrid()
        Gets the Grid instance for this event, if it originated from a Grid.
        Returns:
        the grid this event originated from, or null if this event did not originate from a grid
      • getTargetCell

        public CellReference<?> getTargetCell()
        Gets the reference of target cell for this event, if this event originated from a Grid.
        Returns:
        target cell, or null if this event did not originate from a grid