public class BendpointLocator extends ConnectionLocator
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.Constructor and Description |
---|
BendpointLocator(Connection c,
int i)
Creates a BendpointLocator associated with passed Connection c and index
i.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getIndex()
Returns the index of this BendpointLocator.
|
protected Point |
getReferencePoint()
Returns reference point associated with the BendpointLocator.
|
getAlignment, getConnection, getLocation, setAlignment, setConnection
getGap, getNewBounds, getRelativePosition, relocate, setGap, setRelativePosition
public BendpointLocator(Connection c, int i)
c
- Connection associated with BendpointLocatori
- Index of bendpoint, represents the position of the bendpoint
on Connection cprotected int getIndex()
Connection
.protected Point getReferencePoint()
getReferencePoint
in class ConnectionLocator
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.