Class UnderLineAnnotationHandler

  • All Implemented Interfaces:
    ActionListener, KeyListener, MouseListener, MouseMotionListener, EventListener, MouseInputListener, ToolHandler

    public class UnderLineAnnotationHandler
    extends HighLightAnnotationHandler
    UnderLineAnnotationHandler tool extends TextSelectionPageHandler which takes care visually selected text as the mouse is dragged across text on the current page.
    Once the mouseReleased event is fired this handler will create new UnderLineAnnotation and respective AnnotationComponent. The addition of the Annotation object to the page is handled by the annotation callback. Once create the handler will deselect the text and the newly created annotation will be displayed.
    Since:
    5.0