|
JHotDraw 7.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jhotdraw.draw.AbstractHandle
org.jhotdraw.draw.ChangeConnectionHandle
org.jhotdraw.draw.ChangeConnectionStartHandle
public class ChangeConnectionStartHandle
Handle to reconnect the start of a connection to another figure.
| Field Summary |
|---|
| Fields inherited from class org.jhotdraw.draw.AbstractHandle |
|---|
listenerList, view |
| Constructor Summary | |
|---|---|
ChangeConnectionStartHandle(Figure owner)
Constructs the connection handle for the given start figure. |
|
| Method Summary | |
|---|---|
protected boolean |
canConnect(Figure existingEnd,
Figure targetEnd)
|
protected void |
connect(Connector c)
Sets the start of the connection. |
protected void |
disconnect()
Disconnects the start figure. |
protected java.awt.geom.Point2D.Double |
getLocation()
Returns the start point of the connection. |
protected Connector |
getTarget()
Returns the target 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.ChangeConnectionHandle |
|---|
basicGetBounds, draw, findConnector, getConnection, getSource, getTargetFigure, isCombinableWith, setConnection, setTargetFigure, trackEnd, trackStart, trackStep |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChangeConnectionStartHandle(Figure owner)
| Method Detail |
|---|
protected void connect(Connector c)
connect in class ChangeConnectionHandleprotected void disconnect()
disconnect in class ChangeConnectionHandleprotected Connector getTarget()
ChangeConnectionHandle
getTarget in class ChangeConnectionHandleprotected void setLocation(java.awt.geom.Point2D.Double p)
setLocation in class ChangeConnectionHandleprotected java.awt.geom.Point2D.Double getLocation()
getLocation in class ChangeConnectionHandle
protected boolean canConnect(Figure existingEnd,
Figure targetEnd)
canConnect in class ChangeConnectionHandle
|
Copyright 1996-2006 © JHotDraw.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||