Class draw2d.ConnectionAnchor
Object
|
+--draw2d.ConnectionAnchor
-
Direct Known Subclasses:
-
draw2d.ChopboxConnectionAnchor
- class
draw2d.ConnectionAnchor
Defined in ConnectionAnchor.js
Version: 0.9.14
Author: Andreas Herz
|
Method Summary |
Object
|
getBox()
Returns the bounds of this Anchor's owner.
|
Object
|
getLocation( reference)
Returns the location where the Connection should be anchored in absolute coordinates.
|
Object
|
getOwner()
Returns the Figure that contains this ConnectionAnchor.
|
Object
|
getReferencePoint()
Returns the reference point for this anchor in absolute coordinates.
|
void
|
setOwner( owner)
Set the owner of the Anchor.
|
owner
Object owner
type
Object type
draw2d.ConnectionAnchor
draw2d.ConnectionAnchor( owner)
Provides support for a anchor. A anchor is one of the end points
of a draw2d.Connection.
Version: 0.9.14
Author: Andreas Herz
getBox
Object getBox()
Returns the bounds of this Anchor's owner. Subclasses can override this method
to adjust the box. Maybe you return the box of the port parent (the parent figure)
Returns:
The bounds of this Anchor's owner
getLocation
Object getLocation( reference)
Returns the location where the Connection should be anchored in absolute coordinates.
The anchor may use the given reference Point to calculate this location.
Parameters:
reference - The reference Point in absolute coordinates
getOwner
Object getOwner()
Returns the Figure that contains this ConnectionAnchor.
Returns:
The Figure that contains this ConnectionAnchor
getReferencePoint
Object getReferencePoint()
Returns the reference point for this anchor in absolute coordinates. This might be used
by another anchor to determine its own location.
setOwner
void setOwner( owner)
Set the owner of the Anchor.
Documentation generated by
JSDoc on Thu Feb 7 23:45:47 2008