|
Eclipse Draw2d 3.8.0.201206011245 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Connection
A Connection is a figure that connects two objects.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface 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 |
---|
static final String PROPERTY_CONNECTION_ROUTER
static final String PROPERTY_POINTS
Method Detail |
---|
ConnectionRouter getConnectionRouter()
void setConnectionRouter(ConnectionRouter router)
router
- The ConnectionRouter to set for this ConnectionConnectionAnchor getSourceAnchor()
ConnectionAnchor getTargetAnchor()
Object getRoutingConstraint()
null
.
void setRoutingConstraint(Object cons)
cons
- The routing constraintvoid setSourceAnchor(ConnectionAnchor anchor)
anchor
- The source anchorvoid setTargetAnchor(ConnectionAnchor anchor)
anchor
- The target anchorPointList getPoints()
void setPoints(PointList list)
list
- The points for this Connection
|
Eclipse Draw2d 3.8.0.201206011245 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |