public class AnnotatedDocument extends Object implements AnnotationChangeListener
AnnotationChangeListener.ChangeEvent
Constructor and Description |
---|
AnnotatedDocument(AnnotationController controller) |
Modifier and Type | Method and Description |
---|---|
void |
decorate(Annotation annotation) |
void |
decorateSelectedText(Annotation annotation) |
void |
hideAnnotations() |
boolean |
isAnnotationsVisible() |
void |
onChange(AnnotationModel model,
AnnotationChangeListener.ChangeEvent ce) |
void |
preDecorateDocument() |
void |
removeSelectedTextDecoration(Annotation annotation) |
void |
showAnnotations() |
void |
update() |
void |
update(boolean forceDecorate) |
void |
updateSelectedAnnotation(int index) |
public AnnotatedDocument(AnnotationController controller)
public void onChange(AnnotationModel model, AnnotationChangeListener.ChangeEvent ce)
onChange
in interface AnnotationChangeListener
public void update()
public void update(boolean forceDecorate)
public void preDecorateDocument()
public void decorate(Annotation annotation)
public void updateSelectedAnnotation(int index)
public void hideAnnotations()
public void showAnnotations()
public boolean isAnnotationsVisible()
public void decorateSelectedText(Annotation annotation)
public void removeSelectedTextDecoration(Annotation annotation)
Copyright © 2017 Nuxeo. All rights reserved.