Package | com.yworks.yfiles.layout.tree |
Class | public class BusPlacer |
Inheritance | BusPlacer AbstractRotatableNodePlacer YObject Object |
See also
Method | Defined By | ||
---|---|---|---|
BusPlacer(init:Boolean = true)
Initializes a new instance with the Default matrix. | BusPlacer | ||
[override] | BusPlacer | ||
AbstractRotatableNodePlacer | |||
Creates an optional Processor for pre- and post-processing. | AbstractRotatableNodePlacer | ||
[override]
This method initializes internal data structures, then uses the abstract method determineChildConnector() to determine the child node connector directions. | BusPlacer | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | BusPlacer | ||
hashCode():int | YObject | ||
[static]
Initializes a new instance with the Default matrix. | BusPlacer | ||
[static]
Initializes a new BusPlacer with the given modification matrix. | BusPlacer | ||
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]
| BusPlacer | ||
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 | ||
initBusPlacer1():void
Initializes this object. | BusPlacer | ||
initBusPlacer2(modificationMatrix:AbstractRotatableNodePlacer_Matrix):void
Initializes this object. | BusPlacer | ||
placeSubtreeCore(localRoot:Node, parentConnectorDirection:int):SubtreeShapeRotated [override]
Places the root node and its children
| BusPlacer | ||
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 |
BusPlacer | () | Constructor |
public function BusPlacer(init:Boolean = true)
Initializes 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.
|
createComparator | () | method |
determineChildConnector | () | method |
override protected function determineChildConnector(child:Node):int
Parameters
child:Node |
int — com.yworks.yfiles.layout.tree.NodePlacerCompanion.DIRECTION_SOUTH
|
See also
determineChildConnectors | () | method |
override public function determineChildConnectors(localRoot:Node, connectorMap:DataMap):void
This method initializes internal data structures, then uses the abstract method determineChildConnector() to determine the child node connector directions.
Parameters
localRoot:Node — the local root node
| |
connectorMap:DataMap — the map that will be used to store the values
|
See also
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initBusPlacer1 | () | method |
protected final function initBusPlacer1():void
Initializes this object. See the documentation of the corresponding factory method newBusPlacer1()
for details.
See also
initBusPlacer2 | () | method |
protected final function initBusPlacer2(modificationMatrix:AbstractRotatableNodePlacer_Matrix):void
Initializes this object. See the documentation of the corresponding factory method newBusPlacer2()
for details.
Parameters
modificationMatrix:AbstractRotatableNodePlacer_Matrix |
See also
newBusPlacer1 | () | method |
public static function newBusPlacer1():BusPlacer
Initializes a new instance with the Default matrix.
ReturnsBusPlacer |
newBusPlacer2 | () | method |
public static function newBusPlacer2(modificationMatrix:AbstractRotatableNodePlacer_Matrix):BusPlacer
Initializes a new BusPlacer with the given modification matrix.
Parameters
modificationMatrix:AbstractRotatableNodePlacer_Matrix |
BusPlacer |
placeSubtreeCore | () | method |
override protected function placeSubtreeCore(localRoot:Node, parentConnectorDirection:int):SubtreeShapeRotated
Places the root node and its children
Parameters
localRoot:Node | |
parentConnectorDirection:int |
SubtreeShapeRotated — the created subtree shape
|