public class AddConnectionContext extends AddContext implements IAddConnectionContext
Constructor and Description |
---|
AddConnectionContext(Anchor sourceAnchor,
Anchor targetAnchor)
Creates a new
AddConnectionContext . |
Modifier and Type | Method and Description |
---|---|
Anchor |
getSourceAnchor()
Gets the source anchor.
|
Anchor |
getTargetAnchor()
Gets the target anchor.
|
java.lang.String |
toString() |
getNewObject, getTargetConnection, getTargetConnectionDecorator, getTargetContainer, setNewObject, setTargetConnection, setTargetConnectionDecorator, setTargetContainer
getHeight, getWidth, setHeight, setSize, setWidth
getX, getY, setLocation, setX, setY
getProperty, getPropertyKeys, putProperty
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNewObject
getHeight, getWidth
getX, getY
getProperty, getPropertyKeys, putProperty
getTargetContainer
getTargetConnection
getTargetConnectionDecorator
public AddConnectionContext(Anchor sourceAnchor, Anchor targetAnchor)
AddConnectionContext
.sourceAnchor
- the source anchortargetAnchor
- the target anchorpublic Anchor getSourceAnchor()
IConnectionContext
getSourceAnchor
in interface IConnectionContext
public Anchor getTargetAnchor()
IConnectionContext
getTargetAnchor
in interface IConnectionContext
public java.lang.String toString()
toString
in class AddContext