|
JHotDraw 7.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jhotdraw.draw.handle.AbstractHandle
org.jhotdraw.draw.handle.AbstractConnectionHandle
org.jhotdraw.draw.handle.ConnectionEndHandle
public class ConnectionEndHandle
A Handle which allows to connect the end of a
ConnectionFigure to another figure.
| Field Summary |
|---|
| Fields inherited from class org.jhotdraw.draw.handle.AbstractConnectionHandle |
|---|
connectors |
| Fields inherited from class org.jhotdraw.draw.handle.AbstractHandle |
|---|
listenerList, view |
| Constructor Summary | |
|---|---|
ConnectionEndHandle(ConnectionFigure owner)
Constructs the connection handle for the given start figure. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.jhotdraw.draw.handle.AbstractConnectionHandle |
|---|
basicGetBounds, createSecondaryHandles, draw, findConnector, getBezierFigure, getBezierNode, getOwner, getSource, getToolTipText, isCombinableWith, repaintConnectors, setPotentialTarget, trackEnd, trackStart, trackStep |
| Methods inherited from class org.jhotdraw.draw.handle.AbstractHandle |
|---|
addHandleListener, 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, viewTransformChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionEndHandle(ConnectionFigure owner)
| Method Detail |
|---|
protected void connect(Connector c)
connect in class AbstractConnectionHandleprotected void disconnect()
disconnect in class AbstractConnectionHandleprotected Connector getTarget()
AbstractConnectionHandle
getTarget in class AbstractConnectionHandleprotected void setLocation(java.awt.geom.Point2D.Double p)
setLocation in class AbstractConnectionHandleprotected java.awt.geom.Point2D.Double getLocation()
getLocation in class AbstractConnectionHandle
protected boolean canConnect(Connector existingEnd,
Connector targetEnd)
canConnect in class AbstractConnectionHandleprotected int getBezierNodeIndex()
getBezierNodeIndex in class AbstractConnectionHandle
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||