|
Draw2d 3.9.0.201305060205 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.AbstractLocator
org.eclipse.draw2d.ConnectionLocator
org.eclipse.draw2d.MidpointLocator
public class MidpointLocator
A ConnectionLocator that is used to place figures at the midpoint between two
points on a Connection
.
Field Summary |
---|
Fields inherited from class org.eclipse.draw2d.ConnectionLocator |
---|
END, MIDDLE, MIDPOINT, SOURCE, START, TARGET |
Constructor Summary | |
---|---|
MidpointLocator(Connection c,
int i)
Constructs a MidpointLocator with associated Connection c and index i. |
Method Summary | |
---|---|
protected int |
getIndex()
Returns this MidpointLocator's index. |
protected Point |
getReferencePoint()
Returns the point of reference associated with this locator. |
Methods inherited from class org.eclipse.draw2d.ConnectionLocator |
---|
getAlignment, getConnection, getLocation, setAlignment, setConnection |
Methods inherited from class org.eclipse.draw2d.AbstractLocator |
---|
getGap, getNewBounds, getRelativePosition, relocate, setGap, setRelativePosition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MidpointLocator(Connection c, int i)
c
- the connection associated with the locatori
- the point from where the connection's midpoint will be
calculated.Method Detail |
---|
protected int getIndex()
Connection
from where midpoint calculation will be made.
protected Point getReferencePoint()
getReferencePoint
in class ConnectionLocator
|
Draw2d 3.9.0.201305060205 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |