Packagecom.yworks.yfiles.layout.hierarchic.incremental
Classpublic class PartitionGridLayoutStage
InheritancePartitionGridLayoutStage Inheritance AbstractLayoutStage Inheritance YObject Inheritance Object

Layout stage that is used for handling a given partition grid structure ( com.yworks.yfiles.layout.grid.PartitionGrid) that is attached to a graph with DataProvider com.yworks.yfiles.layout.grid.PartitionGrid.PARTITION_GRID_DPKEY.

Note: the IncrementalHierarchicLayouter automatically uses this stage if required.

See also

com.yworks.yfiles.layout.grid.PartitionGrid
com.yworks.yfiles.layout.hierarchic.IncrementalHierarchicLayouter
com.yworks.yfiles.layout.grid.PartitionGrid.PARTITION_GRID_DPKEY


Public Properties
 PropertyDefined By
 InheritedcoreLayouter : Layouter
Specifies the core layouter.
AbstractLayoutStage
Public Methods
 MethodDefined By
  
PartitionGridLayoutStage(init:Boolean = true)
PartitionGridLayoutStage
  
canLayout(graph:LayoutGraph):Boolean
[override]
PartitionGridLayoutStage
  
doLayout(graph:LayoutGraph):void
[override]
PartitionGridLayoutStage
 Inherited
equals(o:Object):Boolean
YObject
  
getClass():Class
[override]
PartitionGridLayoutStage
 Inherited
hashCode():int
YObject
  
[static]
PartitionGridLayoutStage
Protected Methods
 MethodDefined By
 Inherited
canLayoutCore(graph:LayoutGraph):Boolean
Queries the core layouter whether or not the given graph can be laid out.
AbstractLayoutStage
 Inherited
Invokes the layout routine of the core layouter.
AbstractLayoutStage
 Inherited
AbstractLayoutStage
 Inherited
AbstractLayoutStage
  
PartitionGridLayoutStage
Constructor Detail
PartitionGridLayoutStage()Constructor
public function PartitionGridLayoutStage(init:Boolean = true)



Parameters
init:Boolean (default = true)
Method Detail
canLayout()method
override public function canLayout(graph:LayoutGraph):Boolean

Parameters

graph:LayoutGraph

Returns
Boolean
doLayout()method 
override public function doLayout(graph:LayoutGraph):void

Parameters

graph:LayoutGraph

getClass()method 
override public function getClass():Class

Returns
Class
initPartitionGridLayoutStage()method 
protected final function initPartitionGridLayoutStage():void

newPartitionGridLayoutStage()method 
public static function newPartitionGridLayoutStage():PartitionGridLayoutStage

Returns
PartitionGridLayoutStage