|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Connection is a figure that connects two objects.
Nested Class Summary |
Nested classes inherited from class org.eclipse.draw2d.IFigure |
IFigure.NoInsets |
Field Summary | |
static String |
PROPERTY_CONNECTION_ROUTER
The connection router property. |
static String |
PROPERTY_POINTS
The points property. |
Fields inherited from interface org.eclipse.draw2d.IFigure |
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS |
Method Summary | |
ConnectionRouter |
getConnectionRouter()
Returns the ConnectionRouter used to route this Connection. |
PointList |
getPoints()
Returns the PointList containing the Points that make up this Connection. |
Object |
getRoutingConstraint()
Returns the routing constraint. |
ConnectionAnchor |
getSourceAnchor()
Returns the ConnectionAnchor at the source end of this Connection. |
ConnectionAnchor |
getTargetAnchor()
Returns the ConnectionAnchor at the target end of this Connection. |
void |
setConnectionRouter(ConnectionRouter router)
Sets the ConnectionRouter for this Connection. |
void |
setPoints(PointList list)
Sets the PointList containing the Points that make up this Connection. |
void |
setRoutingConstraint(Object cons)
Sets the routing constraint used by the router. |
void |
setSourceAnchor(ConnectionAnchor anchor)
Sets the ConnectionAnchor to be used at the source end of this Connection. |
void |
setTargetAnchor(ConnectionAnchor anchor)
Sets the ConnectionAnchor to be used at the target end of this Connection. |
Field Detail |
public static final String PROPERTY_CONNECTION_ROUTER
public static final String PROPERTY_POINTS
Method Detail |
public ConnectionRouter getConnectionRouter()
public void setConnectionRouter(ConnectionRouter router)
router
- The ConnectionRouter to set for this Connectionpublic ConnectionAnchor getSourceAnchor()
public ConnectionAnchor getTargetAnchor()
public Object getRoutingConstraint()
null
.
public void setRoutingConstraint(Object cons)
cons
- The routing constraintpublic void setSourceAnchor(ConnectionAnchor anchor)
anchor
- The source anchorpublic void setTargetAnchor(ConnectionAnchor anchor)
anchor
- The target anchorpublic PointList getPoints()
public void setPoints(PointList list)
list
- The points for this Connection
|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |