Package | com.yworks.yfiles.layout |
Class | public class CompositeLayoutStage |
Inheritance | CompositeLayoutStage AbstractLayoutStage YObject Object |
Property | Defined By | ||
---|---|---|---|
coreLayouter : Layouter
Specifies the core layouter. | AbstractLayoutStage | ||
layoutStages : List [read-only]
Returns the chain of layout stages that make up this composite layout stage. | CompositeLayoutStage |
Method | Defined By | ||
---|---|---|---|
CompositeLayoutStage(init:Boolean = true)
Creates a new instance of CompositeLayoutStage
| CompositeLayoutStage | ||
appendStage(stage:LayoutStage):void
Appends a stage to the layout pipeline. | CompositeLayoutStage | ||
canLayout(graph:LayoutGraph):Boolean [override]
Returns true. | CompositeLayoutStage | ||
doLayout(graph:LayoutGraph):void [override]
Assigns a new graph layout to the given layout graph. | CompositeLayoutStage | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | CompositeLayoutStage | ||
hashCode():int | YObject | ||
[static]
Creates a new instance of CompositeLayoutStage
| CompositeLayoutStage | ||
[static]
Creates a new instance of CompositeLayoutStage
| CompositeLayoutStage | ||
prependStage(stage:LayoutStage):void
Prepends a stage to this composite layout stage. | CompositeLayoutStage |
Method | Defined By | ||
---|---|---|---|
canLayoutCore(graph:LayoutGraph):Boolean
Queries the core layouter whether or not the given graph can be laid out. | AbstractLayoutStage | ||
doLayoutCore(graph:LayoutGraph):void
Invokes the layout routine of the core layouter. | AbstractLayoutStage | ||
initAbstractLayoutStage1():void | AbstractLayoutStage | ||
initAbstractLayoutStage2(core:Layouter):void | AbstractLayoutStage | ||
initCompositeLayoutStage1():void
Initializes this object. | CompositeLayoutStage | ||
Initializes this object. | CompositeLayoutStage |
layoutStages | property |
layoutStages:List
[read-only] Returns the chain of layout stages that make up this composite layout stage.
public function get layoutStages():List
CompositeLayoutStage | () | Constructor |
public function CompositeLayoutStage(init:Boolean = true)
Creates a new instance of CompositeLayoutStage
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.
|
appendStage | () | method |
public function appendStage(stage:LayoutStage):void
Appends a stage to the layout pipeline. Stages added with this method will be invoked just before the core layouter of the composite layout stage will be invoked.
Parameters
stage:LayoutStage |
canLayout | () | method |
override public function canLayout(graph:LayoutGraph):Boolean
Returns true
.
Parameters
graph:LayoutGraph |
Boolean |
doLayout | () | method |
override public function doLayout(graph:LayoutGraph):void
Assigns a new graph layout to the given layout graph.
Parameters
graph:LayoutGraph |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initCompositeLayoutStage1 | () | method |
protected final function initCompositeLayoutStage1():void
Initializes this object. See the documentation of the corresponding factory method newCompositeLayoutStage1()
for details.
See also
initCompositeLayoutStage2 | () | method |
protected final function initCompositeLayoutStage2(outerStage:LayoutStage, innerStage:LayoutStage):void
Initializes this object. See the documentation of the corresponding factory method newCompositeLayoutStage2()
for details.
Parameters
outerStage:LayoutStage | |
innerStage:LayoutStage |
See also
newCompositeLayoutStage1 | () | method |
public static function newCompositeLayoutStage1():CompositeLayoutStage
Creates a new instance of CompositeLayoutStage
ReturnsCompositeLayoutStage |
newCompositeLayoutStage2 | () | method |
public static function newCompositeLayoutStage2(outerStage:LayoutStage, innerStage:LayoutStage):CompositeLayoutStage
Creates a new instance of CompositeLayoutStage
Parameters
outerStage:LayoutStage | |
innerStage:LayoutStage |
CompositeLayoutStage |
prependStage | () | method |
public function prependStage(stage:LayoutStage):void
Prepends a stage to this composite layout stage. Stages added with this method will be invoked before any other stages will be invoked.
Parameters
stage:LayoutStage |