|
org.netbeans.modules.editor.lib/1 1.14.0 3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.editor.Annotations.LineAnnotations
public static class Annotations.LineAnnotations
Manager of all annotations attached to one line. Class stores the references to all annotations from one line in List and also stores which annotation is active, count of visible annotations and line number.
Constructor Summary | |
---|---|
protected |
Annotations.LineAnnotations()
Line number |
Method Summary | |
---|---|
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 |
getAnnotations()
|
int |
getCount()
Get count of visible annotations on the line |
int |
getLine()
Getter for the line number property |
AnnotationDesc[] |
getPasive()
Gets the array of all pasive 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Annotations.LineAnnotations()
Method Detail |
---|
public void addAnnotation(AnnotationDesc anno)
public void removeAnnotation(AnnotationDesc anno)
public AnnotationDesc getActive()
public int getLine()
public void setLine(int line)
public AnnotationDesc[] getPasive()
public boolean activate(AnnotationDesc anno)
public int getCount()
public AnnotationDesc activateNext()
public void refreshAnnotations()
public boolean isMarkStillReferenced(Mark mark)
public Iterator getAnnotations()
|
org.netbeans.modules.editor.lib/1 1.14.0 3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |