Class TextHighlightAnnotationWrangler
java.lang.Object
com.levigo.jadice.annotation.AnnotationWrangler
com.levigo.jadice.web.client.internal.annotation.Wrangler<TextHighlightAnnotation>
com.levigo.jadice.web.client.internal.annotation.wrangler.DefaultWrangler<TextHighlightAnnotation>
com.levigo.jadice.web.client.internal.annotation.wrangler.TextHighlightAnnotationWrangler
-
Nested Class Summary
Nested classes/interfaces inherited from class com.levigo.jadice.web.client.internal.annotation.wrangler.DefaultWrangler
DefaultWrangler.CreationMode
-
Field Summary
Fields inherited from class com.levigo.jadice.web.client.internal.annotation.wrangler.DefaultWrangler
boundsType, createAnno, createEnd, createStart, EMPTY_HANDLE_LIST, MINIMUM_HEIGHT, MINIMUM_WIDTH, minimumHeight, minimumWidth, selectionInspector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHandles
(PageView pageView, Page page, TextHighlightAnnotation annotation) Creates handles for a specific annotation.Methods inherited from class com.levigo.jadice.web.client.internal.annotation.wrangler.DefaultWrangler
afterCreate, calcMinWidth, contribute, getCreationMode, getCursor, getMinimumHeight, getMinimumWidth, handleCreateEditEvent, handleEditEvent, isSelectionPoint, isSelectionTouchPoint, setCreationMode, setMinimumHeight, setMinimumWidth, updateCreated
-
Constructor Details
-
TextHighlightAnnotationWrangler
public TextHighlightAnnotationWrangler()
-
-
Method Details
-
getHandles
public List<? extends Handle> getHandles(PageView pageView, Page page, TextHighlightAnnotation annotation) Description copied from class:Wrangler
Creates handles for a specific annotation.- Overrides:
getHandles
in classDefaultWrangler<TextHighlightAnnotation>
- Parameters:
pageView
- PageView the annotation is shown on (for example for repaint calls)page
- The page that contains the annotationannotation
- The annotation the wrangler should create handles for- Returns:
- Handles that can be used to edit the annotation
-