|
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.AnnotationDesc
public abstract class AnnotationDesc
Description of the annotation. The annotations is defined by AnnotationType, length, offset and description.
Field Summary | |
---|---|
static String |
PROP_ANNOTATION_TYPE
Property name of the annotation type |
static String |
PROP_MOVE_TO_FRONT
Virtual property for fronting of annotation |
static String |
PROP_SHORT_DESCRIPTION
Property name of the tip text |
Constructor Summary | |
---|---|
AnnotationDesc(int offset,
int length)
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Add listeners on changes of annotation properties |
protected void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Fire property change to registered listeners. |
Action[] |
getActions()
Returns list of actions associated to this annotation type. |
abstract String |
getAnnotationType()
Getter for annotation type name |
AnnotationType |
getAnnotationTypeInstance()
Getter for annotation type object |
Coloring |
getColoring()
Gets annotation coloring. |
Image |
getGlyph()
Gets glyph image. |
int |
getLength()
Get length of the annotation |
abstract int |
getLine()
Getter for line number of this annotation |
abstract int |
getOffset()
Getter for offset of this annotation |
int |
getOrderNumber()
Internal order of the annotations. |
abstract String |
getShortDescription()
Getter for localized tooltip text for this annotation |
boolean |
isDefaultGlyph()
Checks whether the annotation type has its own glyph icon |
boolean |
isVisible()
Is annotation type visible. |
boolean |
isWholeLine()
Whether this annotation annotates whole line or just part of the text |
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove listeners on changes of annotation properties |
String |
toString()
|
void |
updateAnnotationType()
Method for fetching AnnotationType which correspond to the name of the annotation type stored in annotation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROP_SHORT_DESCRIPTION
public static final String PROP_ANNOTATION_TYPE
public static final String PROP_MOVE_TO_FRONT
Constructor Detail |
---|
public AnnotationDesc(int offset, int length)
Method Detail |
---|
public Coloring getColoring()
public Image getGlyph()
public boolean isDefaultGlyph()
public boolean isVisible()
public int getOrderNumber()
public Action[] getActions()
public boolean isWholeLine()
public int getLength()
public AnnotationType getAnnotationTypeInstance()
public abstract String getAnnotationType()
public abstract String getShortDescription()
public abstract int getOffset()
public abstract int getLine()
public void updateAnnotationType()
public final void addPropertyChangeListener(PropertyChangeListener l)
l
- change listenerpublic final void removePropertyChangeListener(PropertyChangeListener l)
l
- change listenerprotected final void firePropertyChange(String propertyName, Object oldValue, Object newValue)
public String toString()
|
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 |