Class PointerEditEvent


public class PointerEditEvent extends PointedEditEvent
  • Constructor Details

    • PointerEditEvent

      public PointerEditEvent(PageView source, com.google.gwt.event.dom.client.DomEvent<?> inputEvent, Page page, int pageIndex, Rectangle pageBounds, RenderControls pageRenderControls)
  • Method Details

    • getPoint

      public Point2D getPoint(int finger)
      Description copied from class: PointedEditEvent
      Return the point relative to the RenderedPage's origin in screen coordinates.
      Specified by:
      getPoint in class PointedEditEvent
      Parameters:
      finger - the finger of the touch (only for touch event)
      Returns:
      The point relative to the RenderedPage's origin.
      See Also:
    • getPoint

      public Point getPoint()
    • getAbsolutePoint

      public Point getAbsolutePoint(int finger)
      Specified by:
      getAbsolutePoint in class PointedEditEvent
      Parameters:
      finger - the finger of the touch (only for touch event)
      Returns:
      the Point relative to the PageView-TopLeft
    • getInputEvent

      public InputEvent getInputEvent()
      Description copied from class: EditEvent
      Overridden in subclasses.

      Implement only for legacy purposes.

      Specified by:
      getInputEvent in class EditEvent
      Returns:
      The inputEvent used for legacy purposes.
    • isWithinPageBounds

      public boolean isWithinPageBounds()