Class TextAnnotationHandler

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

    public class TextAnnotationHandler
    extends CommonToolHandler
    implements ToolHandler
    TextAnnotationHandler tool is responsible creating a new comment type TextAnnotation when a mouse click event is thrown on the page. The new TextAnnotation is placed at the point of the page where the click took place. The default icon state is set to comment and the respective PopupAnnotation is also created and shown.
    The addition of the Annotation object to the page is handled by the annotation callback.
    Since:
    5.0