|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.canvas.AbstractSite
diva.canvas.connector.ArcMidpointSite
public class ArcMidpointSite
A site that is used for the purpose of manipulating the midpoint of an arc connector.
Constructor Summary | |
---|---|
ArcMidpointSite(ArcConnector connector,
int id)
Create a new site on the given arc connector with the given ID. |
Method Summary | |
---|---|
Figure |
getFigure()
Get the figure to which this site is attached. |
int |
getID()
Get the ID of this site. |
double |
getX()
Get the x-coordinate of the site. |
double |
getY()
Get the y-coordinate of the site. |
Methods inherited from class diva.canvas.AbstractSite |
---|
getNormal, getPoint, getPoint, getPoint, getPoint, getTransformContext, hasNormal, isNormal, setNormal, translate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArcMidpointSite(ArcConnector connector, int id)
connector
- The arc connector.id
- The id.Method Detail |
---|
public Figure getFigure()
getFigure
in interface Site
getFigure
in class AbstractSite
public int getID()
getID
in interface Site
getID
in class AbstractSite
public double getX()
getX
in interface Site
getX
in class AbstractSite
public double getY()
getY
in interface Site
getY
in class AbstractSite
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |