|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.standard.AbstractHandle
org.jhotdraw.standard.ChangeConnectionHandle
org.jhotdraw.standard.ChangeConnectionStartHandle
Handle to reconnect the start of a connection to another figure.
Nested Class Summary | |
static class |
ChangeConnectionStartHandle.UndoActivity
|
Field Summary |
Fields inherited from class org.jhotdraw.standard.AbstractHandle |
HANDLESIZE |
Constructor Summary | |
ChangeConnectionStartHandle(ConnectionFigure owner)
Constructs the connection handle for the given start figure. |
Method Summary | |
protected boolean |
canConnectTo(Figure figure)
Called to check whether this end of the connection can connect to the given target figure. |
protected void |
connect(Connector c)
Sets the start of the connection. |
protected Undoable |
createUndoActivity(DrawingView newView)
Factory method for undo activity |
protected void |
disconnect()
Disconnects the start figure. |
java.awt.Point |
locate()
Returns the start point of the connection. |
protected void |
setPoint(int x,
int y)
Sets the start point of the connection. |
protected Connector |
target()
Gets the start figure of a connection. |
Methods inherited from class org.jhotdraw.standard.ChangeConnectionHandle |
draw, findConnector, getConnection, getTargetFigure, invokeEnd, invokeStart, invokeStep, setConnection, setTargetFigure, source |
Methods inherited from class org.jhotdraw.standard.AbstractHandle |
containsPoint, displayBox, getCursor, getUndoActivity, invokeEnd, invokeStart, invokeStep, owner, setUndoActivity |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChangeConnectionStartHandle(ConnectionFigure owner)
Method Detail |
protected Connector target()
target
in class ChangeConnectionHandle
protected void disconnect()
disconnect
in class ChangeConnectionHandle
protected void connect(Connector c)
connect
in class ChangeConnectionHandle
protected void setPoint(int x, int y)
setPoint
in class ChangeConnectionHandle
public java.awt.Point locate()
protected Undoable createUndoActivity(DrawingView newView)
createUndoActivity
in class ChangeConnectionHandle
protected boolean canConnectTo(Figure figure)
ChangeConnectionHandle
canConnectTo
in class ChangeConnectionHandle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |