public class ConnectionEndHandle extends AbstractConnectionHandle
Handle which allows to connect the end of a
ConnectionFigure to another figure.connectorslistenerList, view| Constructor and Description |
|---|
ConnectionEndHandle(ConnectionFigure owner)
Constructs the connection handle for the given start figure.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canConnect(Connector existingEnd,
Connector targetEnd) |
protected void |
connect(Connector c)
Sets the start of the connection.
|
protected void |
disconnect()
Disconnects the start figure.
|
protected int |
getBezierNodeIndex() |
protected java.awt.geom.Point2D.Double |
getLocation()
Returns the start point of the connection.
|
protected Connector |
getTarget()
Returns the connector of the change.
|
protected void |
setLocation(java.awt.geom.Point2D.Double p)
Sets the start point of the connection.
|
basicGetBounds, createSecondaryHandles, draw, findConnector, getBezierFigure, getBezierNode, getOwner, getSource, getToolTipText, isCombinableWith, repaintConnectors, setPotentialTarget, trackEnd, trackStart, trackStepaddHandleListener, areaInvalidated, attributeChanged, contains, dispose, drawCircle, drawDiamond, drawRectangle, figureAdded, figureChanged, figureHandlesChanged, figureRemoved, figureRequestRemove, fireAreaInvalidated, fireHandleRequestRemove, fireHandleRequestSecondaryHandles, fireUndoableEditHappened, getBounds, getCursor, getDrawingArea, getEditor, getHandlesize, getView, invalidate, keyPressed, keyReleased, keyTyped, removeHandleListener, setToolTipText, setView, trackDoubleClick, updateBounds, viewTransformChangedpublic ConnectionEndHandle(ConnectionFigure owner)
protected void connect(Connector c)
connect in class AbstractConnectionHandleprotected void disconnect()
disconnect in class AbstractConnectionHandleprotected Connector getTarget()
AbstractConnectionHandlegetTarget in class AbstractConnectionHandleprotected void setLocation(java.awt.geom.Point2D.Double p)
setLocation in class AbstractConnectionHandleprotected java.awt.geom.Point2D.Double getLocation()
getLocation in class AbstractConnectionHandleprotected boolean canConnect(Connector existingEnd, Connector targetEnd)
canConnect in class AbstractConnectionHandleprotected int getBezierNodeIndex()
getBezierNodeIndex in class AbstractConnectionHandle