Package | com.yworks.yfiles.layout.hierarchic |
Class | public class LinearSegmentsDrawer |
Inheritance | LinearSegmentsDrawer AbstractDrawer YObject Object |
Method | Defined By | ||
---|---|---|---|
LinearSegmentsDrawer(init:Boolean = true) | LinearSegmentsDrawer | ||
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] | LinearSegmentsDrawer | ||
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] | LinearSegmentsDrawer |
Method | Defined By | ||
---|---|---|---|
assignFinalCoordinates(layers:Vector.<Object>, layerID:DataProvider):void [override] | LinearSegmentsDrawer | ||
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 | ||
initLinearSegmentsDrawer():void | LinearSegmentsDrawer |
LinearSegmentsDrawer | () | Constructor |
public function LinearSegmentsDrawer(init:Boolean = true)
init:Boolean (default = true )
|
assignFinalCoordinates | () | method |
override protected function assignFinalCoordinates(layers:Vector.<Object>, layerID:DataProvider):void
Parameters
layers:Vector.<Object> | |
layerID:DataProvider |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initLinearSegmentsDrawer | () | method |
protected final function initLinearSegmentsDrawer():void
newLinearSegmentsDrawer | () | method |