Package | com.yworks.yfiles.layout |
Class | public class BufferedLayouter |
Inheritance | BufferedLayouter AbstractLayoutStage YObject Object |
Method | Defined By | ||
---|---|---|---|
BufferedLayouter(init:Boolean = true)
Instantiates a new BufferedLayouter. | BufferedLayouter | ||
Invokes the core Layouter on a copy of the given graph. | BufferedLayouter | ||
Invokes the core Layouter on a copy of the given graph. | BufferedLayouter | ||
canLayout(graph:LayoutGraph):Boolean [override]
Whether or not this layouter can layout the given graph. | BufferedLayouter | ||
doLayout(layoutGraph:LayoutGraph):void [override]
Invokes the core Layouter on a copy of the given graph. | BufferedLayouter | ||
Invokes the core Layouter on a copy of the given graph. | BufferedLayouter | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | BufferedLayouter | ||
hashCode():int | YObject | ||
[static]
Instantiates a new BufferedLayouter. | BufferedLayouter | ||
[static]
Instantiates a new BufferedLayouter that wraps the given core layouter. | BufferedLayouter |
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 | ||
initBufferedLayouter1():void
Initializes this object. | BufferedLayouter | ||
initBufferedLayouter2(coreLayouter:Layouter):void
Initializes this object. | BufferedLayouter |
BufferedLayouter | () | Constructor |
public function BufferedLayouter(init:Boolean = true)
Instantiates a new BufferedLayouter. No core layouter will be bound this layouter yet.
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.
|
calcLayout | () | method |
public function calcLayout(layoutGraph:LayoutGraph):GraphLayout
Invokes the core Layouter on a copy of the given graph.
Parameters
layoutGraph:LayoutGraph |
GraphLayout — the calculated graph layout for the given graph
|
calcLayout2 | () | method |
public function calcLayout2(graph:GraphInterface, layout:GraphLayout):GraphLayout
Invokes the core Layouter on a copy of the given graph.
Parameters
graph:GraphInterface | |
layout:GraphLayout |
GraphLayout — the calculated graph layout for the given graph
|
canLayout | () | method |
override public function canLayout(graph:LayoutGraph):Boolean
Whether or not this layouter can layout the given graph. The result of this method will be provided by the associated core layouter.
Parameters
graph:LayoutGraph |
Boolean |
doLayout | () | method |
override public function doLayout(layoutGraph:LayoutGraph):void
Invokes the core Layouter on a copy of the given graph. The calculated layout will be written back to the given graph.
Parameters
layoutGraph:LayoutGraph |
doLayout2 | () | method |
public function doLayout2(graph:GraphInterface, layout:GraphLayout):void
Invokes the core Layouter on a copy of the given graph. The calculated layout will be written back to the given graph.
Parameters
graph:GraphInterface | |
layout:GraphLayout |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initBufferedLayouter1 | () | method |
protected final function initBufferedLayouter1():void
Initializes this object. See the documentation of the corresponding factory method newBufferedLayouter1()
for details.
See also
initBufferedLayouter2 | () | method |
protected final function initBufferedLayouter2(coreLayouter:Layouter):void
Initializes this object. See the documentation of the corresponding factory method newBufferedLayouter2()
for details.
Parameters
coreLayouter:Layouter |
See also
newBufferedLayouter1 | () | method |
public static function newBufferedLayouter1():BufferedLayouter
Instantiates a new BufferedLayouter. No core layouter will be bound this layouter yet.
ReturnsBufferedLayouter |
newBufferedLayouter2 | () | method |
public static function newBufferedLayouter2(coreLayouter:Layouter):BufferedLayouter
Instantiates a new BufferedLayouter that wraps the given core layouter.
Parameters
coreLayouter:Layouter |
BufferedLayouter |