|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tigris.gef.presentation.AnnotationStrategy
org.tigris.gef.presentation.EdgeAnnotationStrategy
public class EdgeAnnotationStrategy
| Constructor Summary | |
|---|---|
EdgeAnnotationStrategy()
|
|
| Method Summary | |
|---|---|
void |
drawConnectingLine(Fig annotation)
Draws a dotted line between this annotation and its owner. |
java.awt.Point |
restoreAnnotationPosition(Fig annotation)
|
void |
storeAnnotationPosition(Fig annotation)
Calculates offset and ratio of annotation (relative to annotationOwner). |
void |
translateAnnotations(Fig owner)
move annotations. |
| Methods inherited from class org.tigris.gef.presentation.AnnotationStrategy |
|---|
addAnnotation, getAllAnnotations, getAnnotationProperties, getAnnotationsVector, lineIsVisible, numOfAnnotations, removeAllAnnotations, removeAllConnectingLines, removeAnnotation, replaceAnnotation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EdgeAnnotationStrategy()
| Method Detail |
|---|
public java.awt.Point restoreAnnotationPosition(Fig annotation)
restoreAnnotationPosition in class AnnotationStrategypublic void storeAnnotationPosition(Fig annotation)
storeAnnotationPosition in class AnnotationStrategy
public void drawConnectingLine(Fig annotation)
throws java.lang.NullPointerException
java.lang.NullPointerExceptionpublic void translateAnnotations(Fig owner)
translateAnnotations in class AnnotationStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||