|
Draw2d 3.9.0.201308190730 |
|||||||||
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.BendpointLocator
public class BendpointLocator
Places a figure relative to a specified bend in a Connection
. A
bendpoint is one of the points returned in the connection's
Connection.getPoints()
method. It is not related to the bendpoint
class used as routing constraints.
Field Summary |
---|
Fields inherited from class org.eclipse.draw2d.ConnectionLocator |
---|
END, MIDDLE, MIDPOINT, SOURCE, START, TARGET |
Constructor Summary | |
---|---|
BendpointLocator(Connection c,
int i)
Creates a BendpointLocator associated with passed Connection c and index i. |
Method Summary | |
---|---|
protected int |
getIndex()
Returns the index of this BendpointLocator. |
protected Point |
getReferencePoint()
Returns reference point associated with the BendpointLocator. |
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 BendpointLocator(Connection c, int i)
c
- Connection associated with BendpointLocatori
- Index of bendpoint, represents the position of the bendpoint
on Connection cMethod Detail |
---|
protected int getIndex()
Connection
.
protected Point getReferencePoint()
getReferencePoint
in class ConnectionLocator
|
Draw2d 3.9.0.201308190730 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |