Class ArrowAnnotationWrangler


public class ArrowAnnotationWrangler extends DefaultWrangler<ArrowAnnotation>
  • Constructor Details

    • ArrowAnnotationWrangler

      public ArrowAnnotationWrangler()
  • Method Details

    • setArrowHeadHandleEnabled

      public void setArrowHeadHandleEnabled(boolean arrowHeadHandleEnabled)
    • isArrowHeadHandleEnabled

      public boolean isArrowHeadHandleEnabled()
    • getHandles

      public List<? extends Handle> getHandles(PageView pageView, Page page, ArrowAnnotation annotation)
      Description copied from class: Wrangler
      Creates handles for a specific annotation.
      Overrides:
      getHandles in class DefaultWrangler<ArrowAnnotation>
      Parameters:
      pageView - PageView the annotation is shown on (for example for repaint calls)
      page - The page that contains the annotation
      annotation - The annotation the wrangler should create handles for
      Returns:
      Handles that can be used to edit the annotation
    • updateCreated

      protected void updateCreated(EditEvent e, ArrowAnnotation createAnno, Point2D createStart, Point2D createEnd)
      Overrides:
      updateCreated in class DefaultWrangler<ArrowAnnotation>
    • setMinimumLineLength

      public void setMinimumLineLength(float minimumLineLength)
      Used to inject the value defined in the annotation profile.
      Parameters:
      minimumLineLength - the minimum line length defined in the underlying annotation profile.
    • getMinimumLineLength

      public float getMinimumLineLength()
      Returns the minimum line length.
      Returns:
      the minimum line length.