Package | com.yworks.yfiles.layout.tree |
Class | public class FreePlacer |
Inheritance | FreePlacer AbstractRotatableNodePlacer YObject Object |
Method | Defined By | ||
---|---|---|---|
FreePlacer(init:Boolean = true)
Creates a new instance with the default matrix. | FreePlacer | ||
AbstractRotatableNodePlacer | |||
AbstractRotatableNodePlacer | |||
[override]
Creates a processor suitable to the FreePlacer. This processor will change all descendants node placers to FreePlacer. | FreePlacer | ||
This method initializes internal data structures, then uses the abstract method determineChildConnector() to determine the child node connector directions. | AbstractRotatableNodePlacer | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | FreePlacer | ||
hashCode():int | YObject | ||
[static]
Creates a new instance with the default matrix. | FreePlacer | ||
placeSubtree(nodeShapeProvider:DataProvider, subtreeShapeProvider:DataProvider, graph:LayoutGraph, localRoot:Node, parentConnectorDirection:int):GenericTreeLayouter_SubtreeShape
This method initializes the local data structures and then delegates the work to the abstract variant. | AbstractRotatableNodePlacer | ||
[static]
Translates a "real world point" to a "model point"
| AbstractRotatableNodePlacer |
Method | Defined By | ||
---|---|---|---|
createRootNodeShape(node:Node):SubtreeShapeRotated
Convenience method that queries the DataProvider for the shape of a single node as a SubtreeShape instance. | AbstractRotatableNodePlacer | ||
createSubtreeShape(node:Node):SubtreeShapeRotated
Convenience method that queries the DataProvider for a SubtreeShape. | AbstractRotatableNodePlacer | ||
determineChildConnector(child:Node):int [override]
| FreePlacer | ||
Lookup method to get the PortConstraint for the local root translated. | AbstractRotatableNodePlacer | ||
Translates the absolute source point of the given edge to the "view coordinates" (translated by the modification matrix)
| AbstractRotatableNodePlacer | ||
initAbstractRotatableNodePlacer(modificationMatrix:AbstractRotatableNodePlacer_Matrix):void | AbstractRotatableNodePlacer | ||
initFreePlacer():void
Initializes this object. | FreePlacer | ||
placeSubtreeCore(localRoot:Node, parentConnectorDirection:int):SubtreeShapeRotated [override]
Creates the subtree shape
| FreePlacer | ||
translateDirectionToModel(realDirection:int):int
Translates a "real" direction into a directionModel direction
| AbstractRotatableNodePlacer | ||
translateDirectionToReal(modelDirection:int):int
Translates a modelDirectionModel into the "real" directionModel
| AbstractRotatableNodePlacer |
FreePlacer | () | Constructor |
public function FreePlacer(init:Boolean = true)
Creates a new instance with the default matrix.
Parametersinit: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.
|
createProcessor | () | method |
override public function createProcessor(layouter:GenericTreeLayouter, graph:LayoutGraph, currentRoot:Node):Processor
Creates a processor suitable to the FreePlacer. This processor will change all descendants node placers to FreePlacer.
Parameters
layouter:GenericTreeLayouter | |
graph:LayoutGraph | |
currentRoot:Node |
Processor |
determineChildConnector | () | method |
override protected function determineChildConnector(child:Node):int
Parameters
child:Node |
int — com.yworks.yfiles.layout.tree.NodePlacerCompanion.DIRECTION_NONE
|
See also
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initFreePlacer | () | method |
protected final function initFreePlacer():void
Initializes this object. See the documentation of the corresponding factory method newFreePlacer()
for details.
See also
newFreePlacer | () | method |
public static function newFreePlacer():FreePlacer
Creates a new instance with the default matrix.
ReturnsFreePlacer |
placeSubtreeCore | () | method |
override protected function placeSubtreeCore(localRoot:Node, parentConnectorDirection:int):SubtreeShapeRotated
Creates the subtree shape
Parameters
localRoot:Node | |
parentConnectorDirection:int |
SubtreeShapeRotated — the created subtree shape
|