public static class Annotations.LineAnnotations extends Object
Modifier | Constructor and Description |
---|---|
protected |
LineAnnotations() |
Modifier and Type | Method and Description |
---|---|
boolean |
activate(AnnotationDesc anno)
Make the given annotation active.
|
AnnotationDesc |
activateNext()
Activate next annoation on the line.
|
void |
addAnnotation(AnnotationDesc anno)
Add annotation to this line and activate it.
|
AnnotationDesc |
getActive()
Return the active line annotation.
|
Iterator<AnnotationDesc> |
getAnnotations() |
int |
getCount()
Get count of visible annotations on the line
|
int |
getLine()
Getter for the line number property
|
AnnotationDesc[] |
getPasive()
Deprecated.
The method name contains typo. Use
getPassive() instead. |
AnnotationDesc[] |
getPassive()
Gets the array of all passive and visible annotations
|
boolean |
isMarkStillReferenced(Mark mark)
Is this given mark still referenced by some annotation or it
can be removed from the draw mark chain
|
void |
refreshAnnotations()
Refresh the active annotation and count of visible annotations.
|
void |
removeAnnotation(AnnotationDesc anno)
Remove annotation from this line.
|
void |
setLine(int line)
Setter for the line number property
|
public void addAnnotation(AnnotationDesc anno)
public void removeAnnotation(AnnotationDesc anno)
public AnnotationDesc getActive()
public int getLine()
public void setLine(int line)
public AnnotationDesc[] getPasive()
getPassive()
instead.public AnnotationDesc[] getPassive()
public boolean activate(AnnotationDesc anno)
public int getCount()
public AnnotationDesc activateNext()
public void refreshAnnotations()
public boolean isMarkStillReferenced(Mark mark)
public Iterator<AnnotationDesc> getAnnotations()
Built on August 30 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.