|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.ri.common.tools.CommonToolHandler
org.icepdf.ri.common.tools.SelectionBoxHandler
org.icepdf.ri.common.tools.TextSelection
org.icepdf.ri.common.tools.TextSelectionPageHandler
org.icepdf.ri.common.tools.HighLightAnnotationHandler
org.icepdf.ri.common.tools.StrikeOutAnnotationHandler
public class StrikeOutAnnotationHandler
StrikeOutAnnotationHandler 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 StrikeOutAnnotation 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.
| Field Summary |
|---|
| Fields inherited from class org.icepdf.ri.common.tools.HighLightAnnotationHandler |
|---|
highLightType |
| Fields inherited from class org.icepdf.ri.common.tools.TextSelection |
|---|
bottomMargin, bottomMarginExclusion, enableMarginExclusion, enableMarginExclusionBorder, lastMouseLocation, lastMousePressedLocation, logger, selectedCount, topMargin, topMarginExclusion |
| Fields inherited from class org.icepdf.ri.common.tools.SelectionBoxHandler |
|---|
currentRect, dash1, previousRectDrawn, rectToDraw, selectionBoxColour, stroke |
| Fields inherited from class org.icepdf.ri.common.tools.CommonToolHandler |
|---|
documentViewController, documentViewModel, pageViewComponent |
| Constructor Summary | |
|---|---|
StrikeOutAnnotationHandler(DocumentViewController documentViewController,
AbstractPageViewComponent pageViewComponent,
DocumentViewModel documentViewModel)
|
|
| Method Summary |
|---|
| Methods inherited from class org.icepdf.ri.common.tools.HighLightAnnotationHandler |
|---|
convertToPageSpace, createTextMarkupAnnotation, mouseClicked, mouseReleased |
| Methods inherited from class org.icepdf.ri.common.tools.TextSelectionPageHandler |
|---|
installTool, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, paintTool, setDocumentViewController, setSelectionRectangle, uninstallTool |
| Methods inherited from class org.icepdf.ri.common.tools.TextSelection |
|---|
calculateTextSelectionExclusion, clearSelection, clearSelectionState, lineSelectHandler, multiLineSelectHandler, paintSelectedText, paintTextBounds, selection, selectionEnd, selectionIcon, selectionStart, setBottomMargin, setTopMargin, wordLineSelection, wordSelectHandler |
| Methods inherited from class org.icepdf.ri.common.tools.SelectionBoxHandler |
|---|
clearRectangle, getCurrentRect, getRectToDraw, isOverPageComponent, paintSelectionBox, resetRectangle, setCurrentRect, setRectToDraw, setSelectionSize, updateDrawableRect, updateSelectionSize |
| Methods inherited from class org.icepdf.ri.common.tools.CommonToolHandler |
|---|
convertMouseToPageSpace, convertRectangleToPageSpace, convertToPageSpace, convertToPageSpace, getPageTransform, getPageTransform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StrikeOutAnnotationHandler(DocumentViewController documentViewController,
AbstractPageViewComponent pageViewComponent,
DocumentViewModel documentViewModel)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||