Packagecom.yworks.yfiles.layout.tree
Classpublic class LeafPlacer
InheritanceLeafPlacer Inheritance YObject Inheritance Object
Implements NodePlacer

This implementation can be used to "place" leafs. It only routes the first incoming edge.



Public Methods
 MethodDefined By
  
LeafPlacer(init:Boolean = true)
LeafPlacer
  
LeafPlacer
  
determineChildConnectors(localRoot:Node, connectorMap:DataMap):void
LeafPlacer
 Inherited
equals(o:Object):Boolean
YObject
  
getClass():Class
[override]
LeafPlacer
 Inherited
hashCode():int
YObject
  
[static]
LeafPlacer
  
placeSubtree(nodeShapeProvider:DataProvider, subtreeShapeProvider:DataProvider, graph:LayoutGraph, localRoot:Node, parentConnectorDirection:int):GenericTreeLayouter_SubtreeShape
LeafPlacer
Protected Methods
 MethodDefined By
  
LeafPlacer
Constructor Detail
LeafPlacer()Constructor
public function LeafPlacer(init:Boolean = true)



Parameters
init:Boolean (default = true)
Method Detail
createProcessor()method
public function createProcessor(layouter:GenericTreeLayouter, graph:LayoutGraph, currentRoot:Node):Processor

Parameters

layouter:GenericTreeLayouter
 
graph:LayoutGraph
 
currentRoot:Node

Returns
Processor
determineChildConnectors()method 
public function determineChildConnectors(localRoot:Node, connectorMap:DataMap):void

Parameters

localRoot:Node
 
connectorMap:DataMap

getClass()method 
override public function getClass():Class

Returns
Class
initLeafPlacer()method 
protected final function initLeafPlacer():void

newLeafPlacer()method 
public static function newLeafPlacer():LeafPlacer

Returns
LeafPlacer
placeSubtree()method 
public function placeSubtree(nodeShapeProvider:DataProvider, subtreeShapeProvider:DataProvider, graph:LayoutGraph, localRoot:Node, parentConnectorDirection:int):GenericTreeLayouter_SubtreeShape

Parameters

nodeShapeProvider:DataProvider
 
subtreeShapeProvider:DataProvider
 
graph:LayoutGraph
 
localRoot:Node
 
parentConnectorDirection:int

Returns
GenericTreeLayouter_SubtreeShape