|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdiva.canvas.SiteDecorator
diva.canvas.connector.FixedNormalSite
A site decorator that disallows changing the normal. This is useful for perimeter sites that stay at one point on a figure. Normally connectors change the normal of a site so that the figure looks better. This class is often used so that the site that points out of a terminal can be properly manhattan routed so that it always leave the terminal in the ight direction.
| Constructor Summary | |
FixedNormalSite(Site site)
|
|
| Method Summary | |
void |
setNormal(double normal)
Set the normal "out" of the site. |
| Methods inherited from class diva.canvas.SiteDecorator |
getFigure, getID, getNormal, getPoint, getPoint, getPoint, getPoint, getTransformContext, getX, getY, hasNormal, isNormal, translate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FixedNormalSite(Site site)
| Method Detail |
public void setNormal(double normal)
SiteDecorator
setNormal in interface SitesetNormal in class SiteDecorator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||