Class Tools.GenericAnnotationCreateTool
Extends
Tools.Tool.
Represents a generic tool use to create markup annotations based on two mouse points (mouse left down and mouse left up).
Constructor Attributes | Constructor Name and Description |
---|---|
Tools.GenericAnnotationCreateTool(docViewer, annotationPrototype, constructorArg)
Creates a new instance of GenericAnnotationCreateTool.
|
Field Attributes | Field Name and Description |
---|---|
the instance of the annotation object created
|
- Fields borrowed from class Tools.Tool:
- docViewer, pageCoordinates
- Methods borrowed from class Tools.Tool:
- getDocumentViewer
- Events borrowed from class Tools.Tool:
- contextMenu, keyDown, mouseDoubleClick, mouseLeftDown, mouseLeftUp, mouseMove, switchIn, switchOut
Class Detail
Tools.GenericAnnotationCreateTool(docViewer, annotationPrototype, constructorArg)
Creates a new instance of GenericAnnotationCreateTool.
- Parameters:
- {CoreControls.DocumentViewer} docViewer
- the instance of the corresponding DocumentViewer
- {Annotations.Annotation} annotationPrototype
- the prototype of the Annotation to create.
- {object} constructorArg Optional
- optional argument to pass to the annotation's constructor
Field Detail
{Annotations.Annotation}
annotation
the instance of the annotation object created