Class LineAnnotationHandler

  • All Implemented Interfaces:
    MouseListener, MouseMotionListener, EventListener, MouseInputListener, ToolHandler
    Direct Known Subclasses:
    LineArrowAnnotationHandler

    public class LineAnnotationHandler
    extends SelectionBoxHandler
    implements ToolHandler
    LineAnnotationHandler tool is responsible for painting representation of a line on the screen during a click and drag mouse event. The first point is recorded on mousePressed and the line is drawn from first point the current location of the mouse.
    Once the mouseReleased event is fired this handler will create new LineAnnotation and respective AnnotationComponent. The addition of the Annotation object to the page is handled by the annotation callback.
    Since:
    5.0