public class CommonToolHandler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected DocumentViewController |
documentViewController |
protected DocumentViewModel |
documentViewModel |
protected AbstractPageViewComponent |
pageViewComponent |
| Constructor and Description |
|---|
CommonToolHandler(DocumentViewController documentViewController,
AbstractPageViewComponent pageViewComponent,
DocumentViewModel documentViewModel) |
| Modifier and Type | Method and Description |
|---|---|
protected java.awt.Shape |
convertToPageSpace(java.awt.Shape shape)
Convert the shapes that make up the annotation to page space so that
they will scale correctly at different zooms.
|
protected java.awt.geom.AffineTransform |
getPageTransform() |
protected AbstractPageViewComponent pageViewComponent
protected DocumentViewController documentViewController
protected DocumentViewModel documentViewModel
public CommonToolHandler(DocumentViewController documentViewController, AbstractPageViewComponent pageViewComponent, DocumentViewModel documentViewModel)
protected java.awt.geom.AffineTransform getPageTransform()
protected java.awt.Shape convertToPageSpace(java.awt.Shape shape)