public interface Connection extends IFigure
IFigure.NoInsets
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_CONNECTION_ROUTER
The connection router property.
|
static java.lang.String |
PROPERTY_POINTS
The points property.
|
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS
Modifier and Type | Method and Description |
---|---|
ConnectionRouter |
getConnectionRouter()
Returns the ConnectionRouter used to route this Connection.
|
PointList |
getPoints()
Returns the PointList containing the Points that make up this Connection.
|
java.lang.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(java.lang.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.
|
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFont, getForegroundColor, getInsets, getLayoutManager, getLocalBackgroundColor, getLocalForegroundColor, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isOpaque, isRequestFocusEnabled, isShowing, isVisible, paint, remove, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setClippingStrategy, setConstraint, setCursor, setEnabled, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate
static final java.lang.String PROPERTY_CONNECTION_ROUTER
static final java.lang.String PROPERTY_POINTS
ConnectionRouter getConnectionRouter()
void setConnectionRouter(ConnectionRouter router)
router
- The ConnectionRouter to set for this ConnectionConnectionAnchor getSourceAnchor()
ConnectionAnchor getTargetAnchor()
java.lang.Object getRoutingConstraint()
null
.void setRoutingConstraint(java.lang.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 ConnectionCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.