| |
|
| java.lang.Object org.netbeans.editor.AnnotationDesc
AnnotationDesc | abstract public class AnnotationDesc extends Object (Code) | | Description of the annotation. The annotations is defined by AnnotationType,
length, offset and description.
author: David Konecny since: 07/2001 |
PROP_ANNOTATION_TYPE | final public static String PROP_ANNOTATION_TYPE(Code) | | Property name of the annotation type
|
PROP_MOVE_TO_FRONT | final public static String PROP_MOVE_TO_FRONT(Code) | | Virtual property for fronting of annotation
|
PROP_SHORT_DESCRIPTION | final public static String PROP_SHORT_DESCRIPTION(Code) | | Property name of the tip text
|
AnnotationDesc | public AnnotationDesc(int offset, int length)(Code) | | |
addPropertyChangeListener | final public void addPropertyChangeListener(PropertyChangeListener l)(Code) | | Add listeners on changes of annotation properties
Parameters: l - change listener |
firePropertyChange | final protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code) | | Fire property change to registered listeners.
|
getActions | public Action[] getActions()(Code) | | Returns list of actions associated to this annotation type.
|
getAnnotationType | abstract public String getAnnotationType()(Code) | | Getter for annotation type name
|
getAnnotationTypeInstance | public AnnotationType getAnnotationTypeInstance()(Code) | | Getter for annotation type object
|
getColoring | public Coloring getColoring()(Code) | | Gets annotation coloring. This is pass through method to annotation type
|
getGlyph | public Image getGlyph()(Code) | | Gets glyph image. This is pass through method to annotation type
|
getLength | public int getLength()(Code) | | Get length of the annotation
|
getLine | abstract public int getLine()(Code) | | Getter for line number of this annotation
|
getMark | Mark getMark()(Code) | | Get Mark which represent this annotation in document
|
getOffset | abstract public int getOffset()(Code) | | Getter for offset of this annotation
|
getOrderNumber | public int getOrderNumber()(Code) | | Internal order of the annotations. Used for correct cycling.
|
getShortDescription | abstract public String getShortDescription()(Code) | | Getter for localized tooltip text for this annotation
|
isDefaultGlyph | public boolean isDefaultGlyph()(Code) | | Checks whether the annotation type has its own glyph icon
|
isVisible | public boolean isVisible()(Code) | | Is annotation type visible. This is pass through method to annotation
type
|
isWholeLine | public boolean isWholeLine()(Code) | | Whether this annotation annotates whole line or just part of the text
|
removePropertyChangeListener | final public void removePropertyChangeListener(PropertyChangeListener l)(Code) | | Remove listeners on changes of annotation properties
Parameters: l - change listener |
setMark | void setMark(Mark mark)(Code) | | Set Mark which represent this annotation in document
|
updateAnnotationType | public void updateAnnotationType()(Code) | | Method for fetching AnnotationType which correspond to the name of the
annotation type stored in annotation.
|
|
|
|