org.grinvin.graphs
Class DefaultAnnotationModel
- Annotation, AnnotationModel, AnnotationView, MutableAnnotationModel
public class DefaultAnnotationModel
DefaultAnnotationModel
public DefaultAnnotationModel(GraphView peer)
Create an annotation for the given peer graph.
fireAnnotationChanged
public void fireAnnotationChanged()
Notify all listeners of the fact that the entire annotation
was changed.
fireElementAnnotationChanged
public void fireElementAnnotationChanged(Element element)
Notify all listeners of the fact that the annotation of an element
was changed.
void setAnnotation
public @Override void setAnnotation(Edge edge,
Object annotation)
void setAnnotation
public @Override void setAnnotation(Vertex vertex,
Object annotation)