| Package | org.un.flex.graphLayout.layout |
| Class | public class ConcentricRadialLayouter |
| Inheritance | ConcentricRadialLayouter AnimatedBaseLayouter BaseLayouter |
| Implements | ILayoutAlgorithm |
| Property | Defined by | ||
|---|---|---|---|
![]() | animInProgress : Boolean
Indicator if currently an animation sequence is still
in progress.
| AnimatedBaseLayouter | |
![]() | autoFitEnabled : Boolean | BaseLayouter | |
![]() | disableAnimation : Boolean
If set to true, animation is disabled and direct
node location setting occurs (instantaneously).
| BaseLayouter | |
![]() | graph : IGraph
Assign a Graph datastructure object to the
layouter, every layouter will need one to work
and some may allow to set it in their constructor
| BaseLayouter | |
![]() | layoutChanged : Boolean | BaseLayouter | |
| linkLength : Number
Access to a value that controls the length
of links (or rather edges).
| ConcentricRadialLayouter | ||
![]() | vgraph : IVisualGraph
Assign a VisualGraph object to the layouter,
every layouter will need one to work, some may
also offer to set it in their constructor.
| BaseLayouter | |
| Method | Defined by | ||
|---|---|---|---|
|
ConcentricRadialLayouter(vg:IVisualGraph = null)
The constructor initializes the layouter and may assign
already a VisualGraph object, but this can also be set later.
| ConcentricRadialLayouter | ||
![]() |
bgDragContinue(event:MouseEvent):void
This is a NOP for this layouter.
| BaseLayouter | |
![]() |
bgDragEvent(event:MouseEvent):void
This is a NOP for this layouter.
| BaseLayouter | |
![]() |
bgDropEvent(event:MouseEvent):void
This is a NOP for this layouter.
| BaseLayouter | |
![]() |
dragContinue(event:MouseEvent, vn:IVisualNode):void
This is a NOP for this layouter.
| BaseLayouter | |
![]() |
dragEvent(event:MouseEvent, vn:IVisualNode):void
This is a NOP for this layouter.
| BaseLayouter | |
![]() |
dropEvent(event:MouseEvent, vn:IVisualNode):void
This is a NOP for this layouter.
| BaseLayouter | |
|
layoutPass():Boolean
This is the main method of the layouter, that actually
implements the calculation of the layout.
| ConcentricRadialLayouter | ||
![]() |
refreshInit():void
This is a NOP for this layouter.
| BaseLayouter | |
|
resetAll():void
This should reset all parameters of the layouter,
which might not be needed for all layouters, and it is
up to each layouter to do something with it.
| ConcentricRadialLayouter | ||
|
setAngularBounds(theta:Number, width:Number):void
Presets the angular bounds of the layout, if desired.
| ConcentricRadialLayouter | ||
| Constant | Defined by | ||
|---|---|---|---|
![]() | ANIM_RADIAL : int = 1
constant to define the radial animation type, which
interpolates node's polar coordinates.
| AnimatedBaseLayouter | |
![]() | ANIM_STRAIGHT : int = 2
constant to define the radial animation type, which
interpolates node's polar coordinates.
| AnimatedBaseLayouter | |
![]() | DEFAULT_MARGIN : Number = 30 [static]
The default margin to be considered when using
autoFit.
| BaseLayouter | |
| DEFAULT_RADIUS : Number = 50 [static]
The default radius increase between
the concentric circles.
| ConcentricRadialLayouter | ||
![]() | MINIMUM_NODE_HEIGHT : Number = 5 [static]
The default minimum node height to be used if the exact node
height cannot be determined yet.
| BaseLayouter | |
![]() | MINIMUM_NODE_WIDTH : Number = 5 [static]
The default minimum node width to be used if the exact node
height cannot be determined yet.
| BaseLayouter | |
| linkLength | property |
linkLength:Number [read-write]Access to a value that controls the length of links (or rather edges). It is up to the layouter what to do with it, and some may ignore this value under certain circumstances (like autoFit). The interface requires the value to be between 0 and 100;
This property can be used as the source for data binding.
Implementation public function get linkLength():Number
public function set linkLength(value:Number):void
| ConcentricRadialLayouter | () | constructor |
public function ConcentricRadialLayouter(vg:IVisualGraph = null)The constructor initializes the layouter and may assign already a VisualGraph object, but this can also be set later.
Parametersvg:IVisualGraph (default = null) — The VisualGraph object on which this layouter should work on.
|
| layoutPass | () | method |
public override function layoutPass():BooleanThis is the main method of the layouter, that actually implements the calculation of the layout. It will be called by the VisualGraph on any significant change that will require a layout to be recomputed.
ReturnsBoolean — true if something was done successfully, false otherwise.
|
| resetAll | () | method |
public override function resetAll():voidThis should reset all parameters of the layouter, which might not be needed for all layouters, and it is up to each layouter to do something with it. It would also stop any existing layouting loops/timers.
| setAngularBounds | () | method |
public function setAngularBounds(theta:Number, width:Number):voidPresets the angular bounds of the layout, if desired. This allows to restrict the layout from drawing a full circle to only draw in a segment of the circle. WARNING: XXX THIS HAS NOT BEEN TESTED YET
Parameterstheta:Number — The starting angle in radians of the bounding segment. Default is 0.
|
|
width:Number — The angular width of the segment in radians. Default is 2I.
|
| DEFAULT_RADIUS | constant |
public static const DEFAULT_RADIUS:Number = 50The default radius increase between the concentric circles.