Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.grinvin.graphs.DefaultAnnotation
Constructor Summary | |
|
Method Summary | |
void |
|
void |
|
Object |
|
Object |
|
GraphView |
|
void |
|
void |
|
public void copy(AnnotationView original)
Make this annotation a copy of the given view using the peer of the original.
- Specified by:
- copy in interface Annotation
public void copy(AnnotationView original, GraphView newPeer)
Make this annotation a copy of the given view using the given peer. This peer is supposed to be a copy of the peer in the sense of methodGraph.copy(GraphView)
.
- Specified by:
- copy in interface Annotation
public Object getAnnotation(Edge edge)
Returns the annotation for the givenEdge
.
- Specified by:
- getAnnotation in interface AnnotationView
public Object getAnnotation(Vertex vertex)
Returns the annotation for the givenVertex
.
- Specified by:
- getAnnotation in interface AnnotationView
public GraphView getPeer()
Returns the peer graph for this annotation.
- Specified by:
- getPeer in interface AnnotationView
public void setAnnotation(Edge edge, Object annotation)
Sets the annotation for the givenEdge
.
- Specified by:
- setAnnotation in interface Annotation
public void setAnnotation(Vertex vertex, Object annotation)
Sets the annotation for the givenVertex
.
- Specified by:
- setAnnotation in interface Annotation