| Package | org.un.flex.graphLayout.layout |
| Class | public class HierarchicalLayoutDrawing |
| Inheritance | HierarchicalLayoutDrawing BaseLayoutDrawing |
| Method | Defined by | ||
|---|---|---|---|
|
The constructor just initializes the internal data structures.
| HierarchicalLayoutDrawing | ||
|
addToChange(n:INode, v:Number):void
Adds a value to the change.
| HierarchicalLayoutDrawing | ||
|
addToModifier(n:INode, v:Number):void
Adds a value to the modifier
| HierarchicalLayoutDrawing | ||
|
addToPrelim(n:INode, v:Number):void
Add a value to the preliminary x value for a node.
| HierarchicalLayoutDrawing | ||
|
addToShift(n:INode, v:Number):void
Adds a value to the shift.
| HierarchicalLayoutDrawing | ||
![]() |
getAbsCartCoordinates(n:INode):Point
Access the absolute cartesian coordinates of the given node.
| BaseLayoutDrawing | |
|
Get the ancestor node for a node, default is the node itself.
| HierarchicalLayoutDrawing | ||
|
Get the change value for a node, default is 0.
| HierarchicalLayoutDrawing | ||
|
getDepthOffset(n:INode):Number
Get the current depth offset of a node.
| HierarchicalLayoutDrawing | ||
|
getModifier(n:INode):Number
Get the modifier value for a node, default is 0.
| HierarchicalLayoutDrawing | ||
![]() |
getPolarPhi(n:INode):Number
access the polar angle part of the
target coordinates of the given node.
| BaseLayoutDrawing | |
![]() |
access the polar radius part of the
target coordinates of the given node.
| BaseLayoutDrawing | |
|
Get the preliminary x value for a node.
| HierarchicalLayoutDrawing | ||
![]() |
getRelCartCoordinates(n:INode):Point
Access the cartesian coordinates of the given node.
| BaseLayoutDrawing | |
|
Get the shift value for a node, default is 0.
| HierarchicalLayoutDrawing | ||
|
Get the thread pointer for a node, default is null.
| HierarchicalLayoutDrawing | ||
![]() |
invalidateNodeData():void
invalidate all node data sets
| BaseLayoutDrawing | |
![]() |
nodeDataValid(n:INode):Boolean
indicates if the data set for a given node is
currently valid.
| BaseLayoutDrawing | |
|
Set the ancestor for a node.
| HierarchicalLayoutDrawing | ||
![]() |
setCartCoordinates(n:INode, p:Point):void
Set the target coordinates for node n according to the
calculated layout in cartesian (i.e.
| BaseLayoutDrawing | |
|
Set the change value for a node.
| HierarchicalLayoutDrawing | ||
|
setDepthOffset(n:INode, v:Number):void
Set the depth offset of a node.
| HierarchicalLayoutDrawing | ||
|
setModifier(n:INode, v:Number):void
Set the modifier value for a node.
| HierarchicalLayoutDrawing | ||
![]() |
setPolarCoordinates(n:INode, polarR:Number, polarPhi:Number):void
Set the target coordinates for node n according to the
calculated layout in Polar form.
| BaseLayoutDrawing | |
|
Set the preliminary x value for a node.
| HierarchicalLayoutDrawing | ||
|
Set the shift value for a node.
| HierarchicalLayoutDrawing | ||
|
Set the thread pointer for a node.
| HierarchicalLayoutDrawing | ||
| HierarchicalLayoutDrawing | () | constructor |
public function HierarchicalLayoutDrawing()The constructor just initializes the internal data structures.
| addToChange | () | method |
public function addToChange(n:INode, v:Number):voidAdds a value to the change.
Parametersn:INode — The node for the change is to be modified ;-)
|
|
v:Number — The value to add.
|
| addToModifier | () | method |
public function addToModifier(n:INode, v:Number):voidAdds a value to the modifier
Parametersn:INode — The node for the modifier is to b modified ;-)
|
|
v:Number — The value to add.
|
| addToPrelim | () | method |
public function addToPrelim(n:INode, v:Number):voidAdd a value to the preliminary x value for a node.
Parametersn:INode — The Node for which the value is needed.
|
|
v:Number — The prelim value for the node n to add.
|
| addToShift | () | method |
public function addToShift(n:INode, v:Number):voidAdds a value to the shift.
Parametersn:INode — The node for the shift is to be modified ;-)
|
|
v:Number — The value to add.
|
| getAncestor | () | method |
public function getAncestor(n:INode):INodeGet the ancestor node for a node, default is the node itself.
Parametersn:INode — The Node for which the ancestor is needed.
|
INode —
The ancestor node.
|
| getChange | () | method |
public function getChange(n:INode):NumberGet the change value for a node, default is 0.
Parametersn:INode — The Node for which the change value is needed.
|
Number — The change value for the node n.
|
| getDepthOffset | () | method |
public function getDepthOffset(n:INode):NumberGet the current depth offset of a node. The default is 0.
Parametersn:INode — The node for which the depth offset it needed.
|
Number — The depth offset of the given node (or 0).
|
| getModifier | () | method |
public function getModifier(n:INode):NumberGet the modifier value for a node, default is 0.
Parametersn:INode — The Node for which the modifier is needed.
|
Number — The modifier value for the node n.
|
| getPrelim | () | method |
public function getPrelim(n:INode):NumberGet the preliminary x value for a node.
Parametersn:INode — The Node for which the value is needed.
|
Number — The prelim value for the node n.
|
| getShift | () | method |
public function getShift(n:INode):NumberGet the shift value for a node, default is 0.
Parametersn:INode — The Node for which the shift value is needed.
|
Number — The shift value for the node n.
|
| getThread | () | method |
public function getThread(n:INode):INodeGet the thread pointer for a node, default is null.
Parametersn:INode — The Node for which the thread is needed.
|
INode —
The thread target node.
|
| setAncestor | () | method |
public function setAncestor(n:INode, a:INode):voidSet the ancestor for a node.
Parametersn:INode — The Node for which the ancestor is to be set.
|
|
a:INode — The ancestor node for the node n.
|
| setChange | () | method |
public function setChange(n:INode, v:Number):voidSet the change value for a node.
Parametersn:INode — The Node for which the change is to be set.
|
|
v:Number — The change value for the node n.
|
| setDepthOffset | () | method |
public function setDepthOffset(n:INode, v:Number):voidSet the depth offset of a node. This results in a variation of the depth of the node within the same layer.
Parametersn:INode — The node for which to set the offset.
|
|
v:Number — The offset value.
|
| setModifier | () | method |
public function setModifier(n:INode, v:Number):voidSet the modifier value for a node.
Parametersn:INode — The Node for which the modifier is to be set.
|
|
v:Number — The modifier value for the node n.
|
| setPrelim | () | method |
public function setPrelim(n:INode, v:Number):voidSet the preliminary x value for a node.
Parametersn:INode — The Node for which the value is needed.
|
|
v:Number — The prelim value for the node n.
|
| setShift | () | method |
public function setShift(n:INode, v:Number):voidSet the shift value for a node.
Parametersn:INode — The Node for which the shift is to be set.
|
|
v:Number — The shift value for the node n.
|
| setThread | () | method |
public function setThread(n:INode, t:INode):voidSet the thread pointer for a node.
Parametersn:INode — The Node for which the modifier is to be set.
|
|
t:INode — The thread target node for the node n.
|