Package | com.yworks.yfiles.layout.hierarchic |
Class | public class PolylineDrawer |
Inheritance | PolylineDrawer AbstractDrawer YObject Object |
Method | Defined By | ||
---|---|---|---|
PolylineDrawer(init:Boolean = true) | PolylineDrawer | ||
Binds the specified graph to this drawer and calls the abstract method assignFinalCoordinates()
| AbstractDrawer | ||
assignYCoords(graph:LayoutGraph, layerLists:Vector.<Object>):void
Assign the y coordinates to the nodes respecting the minimal layer distance. | AbstractDrawer | ||
assignYCoords2(graph:LayoutGraph, layers:Vector.<Object>):void
Assign the y coordinates to the nodes respecting the minimal layer distance. | AbstractDrawer | ||
equals(o:Object):Boolean | YObject | ||
getBottomBorder(v:Node):Number
Returns the height of the bottom border of the given node. | AbstractDrawer | ||
getBottomHalf(v:Node):Number
Returns the height of the border-obeying bottom half of the node,
| AbstractDrawer | ||
getBottomY(v:Node):Number
Returns the border obeying bottom y-coordinate of the given node. | AbstractDrawer | ||
getClass():Class [override] | PolylineDrawer | ||
getFullHeight(v:Node):Number
Returns the border obeying full height of the given node. | AbstractDrawer | ||
getFullWidth(v:Node):Number
Returns the border obeying full width of the given node. | AbstractDrawer | ||
getLeftBorder(v:Node):Number
Returns the width of the left border of the given node. | AbstractDrawer | ||
getLeftHalf(v:Node):Number
Returns the width of the border-obeying left half of the node,
| AbstractDrawer | ||
Returns the border obeying left x-coordinate of the given node. | AbstractDrawer | ||
getRightBorder(v:Node):Number
Returns the width of the right border of the given node. | AbstractDrawer | ||
getRightHalf(v:Node):Number
Returns the width of the border-obeying right half of the node,
| AbstractDrawer | ||
Returns the border obeying right x-coordinate of the given node. | AbstractDrawer | ||
getTopBorder(v:Node):Number
Returns the height of the top border of the given node. | AbstractDrawer | ||
getTopHalf(v:Node):Number
Returns the height of the border-obeying top half of the node,
| AbstractDrawer | ||
Returns the border obeying top y-coordinate of the given node. | AbstractDrawer | ||
hashCode():int | YObject | ||
[static] | PolylineDrawer |
Method | Defined By | ||
---|---|---|---|
assignFinalCoordinates(layerLists:Vector.<Object>, layerID:DataProvider):void [override] | PolylineDrawer | ||
dispose():void
Frees allocated resources after the drawer is finished. | AbstractDrawer | ||
getDistanceToNextNode(v:Node):Number
Returns the minimal distance between the right border of the given node and the left border of its right hand side neighbor in the layer. | AbstractDrawer | ||
initAbstractDrawer():void | AbstractDrawer | ||
initializeDistancesToNextNode(layerLists:Vector.<Object>):void
Initializes the minimal distances between the right border of a node and the left border of its right hand side neighbor in a layer. | AbstractDrawer | ||
initPolylineDrawer():void
Initializes this object. | PolylineDrawer |
PolylineDrawer | () | Constructor |
public function PolylineDrawer(init:Boolean = true)
Parameters
init:Boolean (default = true ) — An internally used switch to help handle proper instance initialization in inheritance chains where classes can have multiple constructor-like factory methods.
This parameter can safely be ignored/omitted when calling the constructor.
|
assignFinalCoordinates | () | method |
override protected function assignFinalCoordinates(layerLists:Vector.<Object>, layerID:DataProvider):void
Parameters
layerLists:Vector.<Object> | |
layerID:DataProvider |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initPolylineDrawer | () | method |
protected final function initPolylineDrawer():void
Initializes this object. See the documentation of the corresponding factory method newPolylineDrawer()
for details.
See also
newPolylineDrawer | () | method |