Packageflare.vis.operator.layout
Classpublic class IndentedTreeLayout
InheritanceIndentedTreeLayout Inheritance Layout Inheritance Operator

Layout that places tree nodes in an indented outline layout.



Public Properties
 PropertyDefined by
  breadthSpacing : Number
The spacing to use between rows in the layout.
IndentedTreeLayout
  depthSpacing : Number
The spacing to use between depth levels (the amount of indent).
IndentedTreeLayout
 Inheritedenabled : Boolean
Indicates if the operator is enabled or disabled.
Operator
 InheritedlayoutAnchor : Point
The layout anchor, used by some layout instances to place an initial item or determine a focal point.
Layout
 InheritedlayoutBounds : Rectangle
The layout bounds for the layout.
Layout
 InheritedlayoutRoot : DataSprite
The layout root, the root node for tree layouts.
Layout
 InheritedlayoutType : String = "null"
The type of layout and axes.
Layout
 Inheritedparameters : Object
Sets parameter values for this operator.
Operator
 Inheritedvisualization : Visualization
The visualization processed by this operator.
Operator
Protected Properties
 PropertyDefined by
 Inherited_anchor : Point
Layout
 Inherited_setAnchor : Boolean = false
Layout
 Inherited_t : Transitioner = null
A transitioner for storing value updates.
Layout
 InheritedxyAxes : CartesianAxes
Returns the visualization's axes as a CartesianAxes instance.
Layout
Public Methods
 MethodDefined by
  
IndentedTreeLayout(depthSpace:Number = 50, breadthSpace:Number = 5)
Creates a new IndentedTreeLayout.
IndentedTreeLayout
 Inherited
applyParameters(op:IOperator, params:Object):void
[static] Static method that applies parameter settings to an operator.
Operator
 Inherited
Strips all EdgeSprites in a visualization of any control points.
Layout
 Inherited
Hides the axes.
Layout
 Inherited
operate(t:Transitioner = null):void
Performs an operation over the contents of a visualization.
Layout
 Inherited
setup():void
Setup method invoked whenever this operator's visualization property is set.
Operator
 Inherited
Reveals the axes.
Layout
 Inherited
[static] Updates all edges to be straight lines.
Layout
Protected Methods
 MethodDefined by
 Inherited
autoAnchor():void
Automatically-generate an anchor point.
Layout
  
layout():void
Calculates the spatial layout of visualized items.
IndentedTreeLayout
 Inherited
minAngle(a1:Number, a2:Number):Number
Returns an angle value that minimizes the angular distance between a reference angle and a target angle.
Layout
Public Constants
 ConstantDefined by
 InheritedCARTESIAN : String = "cartesian"
[static] Constant indicating Cartesian (x, y) coordinates.
Layout
 InheritedPOLAR : String = "polar"
[static] Constant indicating polar (radius, angle) coordinates.
Layout
Property detail
breadthSpacingproperty
breadthSpacing:Number  [read-write]

The spacing to use between rows in the layout.

Implementation
    public function get breadthSpacing():Number
    public function set breadthSpacing(value:Number):void
depthSpacingproperty 
depthSpacing:Number  [read-write]

The spacing to use between depth levels (the amount of indent).

Implementation
    public function get depthSpacing():Number
    public function set depthSpacing(value:Number):void
Constructor detail
IndentedTreeLayout()constructor
public function IndentedTreeLayout(depthSpace:Number = 50, breadthSpace:Number = 5)

Creates a new IndentedTreeLayout.

Parameters
depthSpace:Number (default = 50) — the amount of indent between depth levels
 
breadthSpace:Number (default = 5) — the amount of spacing between rows
Method detail
layout()method
protected override function layout():void

Calculates the spatial layout of visualized items. Layout operators override this method with their layout implementations.