Class draw2d.ChopboxConnectionAnchor
Object
|
+--draw2d.ConnectionAnchor
|
+--draw2d.ChopboxConnectionAnchor
- class
draw2d.ChopboxConnectionAnchor
- extends draw2d.ConnectionAnchor
Defined in ChopboxConnectionAnchor.js
Version: 0.9.14
Author: Andreas Herz
|
Constructor Summary |
draw2d.ChopboxConnectionAnchor
( owner)
The ChopboxAnchor's location is found by calculating the intersection of a line drawn
from the center point of its owner's box (the parent of the connection port) to a reference
point on that box.
|
|
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
|
getReferencePoint()
Returns the bounds of this Anchor's owner.
|
draw2d.ChopboxConnectionAnchor
draw2d.ChopboxConnectionAnchor( owner)
The ChopboxAnchor's location is found by calculating the intersection of a line drawn
from the center point of its owner's box (the parent of the connection port) to a reference
point on that box. A Connection using the ChopBoxAnchor will be oriented such that they
point to their port owner's center.
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
getReferencePoint
Object getReferencePoint()
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
Documentation generated by
JSDoc on Thu Feb 7 23:45:47 2008