Package | com.yworks.yfiles.layout.hierarchic |
Class | public class AlignmentDrawer |
Inheritance | AlignmentDrawer YObject Object |
Implements | Drawer |
Property | Defined By | ||
---|---|---|---|
dummyMap : NodeMap [write-only] | AlignmentDrawer | ||
minimalEdgeDistance : Number [write-only] | AlignmentDrawer | ||
minimalLayerDistance : Number [write-only] | AlignmentDrawer | ||
minimalMultiEdgeDistance : Number [write-only] | AlignmentDrawer | ||
minimalNodeDistance : Number [write-only] | AlignmentDrawer |
Method | Defined By | ||
---|---|---|---|
AlignmentDrawer(inner:Drawer, init:Boolean = true)
Creates a new AlignmentDrawer using the given drawer as the actual drawer
| AlignmentDrawer | ||
AlignmentDrawer | |||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | AlignmentDrawer | ||
hashCode():int | YObject | ||
[static]
Creates a new AlignmentDrawer using the given drawer as the actual drawer
| AlignmentDrawer |
Method | Defined By | ||
---|---|---|---|
alignNodes(graph:LayoutGraph, lists:Vector.<Object>):void
Modifies the given drawing by modifying the y-coordinates only
| AlignmentDrawer | ||
initAlignmentDrawer(inner:Drawer):void
Initializes this object. | AlignmentDrawer |
Constant | Defined By | ||
---|---|---|---|
NODE_ALIGNMENT_POINT_DPKEY : Object = y.layout.hierarchic.AlignmentDrawer.NODE_ALIGNMENT_POINT_DPKEY [static]
The DataProvider key used for the DataProvider instance that provides for each node a double depicting the center anchored offset to the alignment point. | AlignmentDrawer |
dummyMap | property |
minimalEdgeDistance | property |
minimalEdgeDistance:Number
[write-only] public function set minimalEdgeDistance(value:Number):void
minimalLayerDistance | property |
minimalLayerDistance:Number
[write-only] public function set minimalLayerDistance(value:Number):void
minimalMultiEdgeDistance | property |
minimalMultiEdgeDistance:Number
[write-only] public function set minimalMultiEdgeDistance(value:Number):void
minimalNodeDistance | property |
minimalNodeDistance:Number
[write-only] public function set minimalNodeDistance(value:Number):void
AlignmentDrawer | () | Constructor |
public function AlignmentDrawer(inner:Drawer, init:Boolean = true)
Creates a new AlignmentDrawer using the given drawer as the actual drawer
Parametersinner:Drawer | |
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.
|
alignNodes | () | method |
protected function alignNodes(graph:LayoutGraph, lists:Vector.<Object>):void
Modifies the given drawing by modifying the y-coordinates only
Parameters
graph:LayoutGraph | |
lists:Vector.<Object> |
assignCoordinates | () | method |
public function assignCoordinates(g:LayoutGraph, layerLists:Vector.<Object>, layerID:DataProvider):void
Parameters
g:LayoutGraph | |
layerLists:Vector.<Object> | |
layerID:DataProvider |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initAlignmentDrawer | () | method |
protected final function initAlignmentDrawer(inner:Drawer):void
Initializes this object. See the documentation of the corresponding factory method newAlignmentDrawer()
for details.
Parameters
inner:Drawer |
See also
newAlignmentDrawer | () | method |
public static function newAlignmentDrawer(inner:Drawer):AlignmentDrawer
Creates a new AlignmentDrawer using the given drawer as the actual drawer
Parameters
inner:Drawer |
AlignmentDrawer |
NODE_ALIGNMENT_POINT_DPKEY | Constant |
public static const NODE_ALIGNMENT_POINT_DPKEY:Object = y.layout.hierarchic.AlignmentDrawer.NODE_ALIGNMENT_POINT_DPKEY
The DataProvider key used for the DataProvider instance that provides for each node a double depicting the center anchored offset to the alignment point.