Class PointedEditEvent

Direct Known Subclasses:
GestureEditEvent, MouseEditEvent, TouchEditEvent

public abstract class PointedEditEvent extends EditEvent
Abstract super class for both mouse and touch edit events.
  • Method Details

    • getPoint

      protected abstract Point2D getPoint(int finger)
      Return the point relative to the RenderedPage's origin in screen coordinates.
      Parameters:
      finger - the finger of the touch (only for touch event)
      Returns:
      The point relative to the RenderedPage's origin.
      See Also:
    • getAbsolutePoint

      protected abstract Point getAbsolutePoint(int finger)
      Parameters:
      finger - the finger of the touch (only for touch event)
      Returns:
      the Point relative to the PageView-TopLeft
    • getConstrainedPoint

      protected Point getConstrainedPoint(int finger)
    • getDocumentPoint

      public Point2D getDocumentPoint()
    • getDocumentPoint

      protected Point2D getDocumentPoint(int finger)
    • getConstrainedDocumentPoint

      public Point2D getConstrainedDocumentPoint()
    • getConstrainedDocumentPoint

      protected Point2D getConstrainedDocumentPoint(int finger)
    • getX

      protected int getX(int finger)
    • getY

      protected int getY(int finger)
    • isWithinPageBounds

      protected boolean isWithinPageBounds(int finger)