Packagecom.yworks.yfiles.layout.hierarchic.incremental
Classpublic class OldLayererWrapper
InheritanceOldLayererWrapper Inheritance YObject Inheritance Object
Implements Layerer

Wraps a com.yworks.yfiles.layout.hierarchic.OldLayerer implementation from the y.layout.hierarchic package to behave like a com.yworks.yfiles.layout.hierarchic.incremental.Layerer implementation from the y.layout.hierarchic.incremental package.

See also

com.yworks.yfiles.layout.hierarchic.incremental.HierarchicLayouterImpl.layerer
com.yworks.yfiles.layout.hierarchic.OldLayerer
com.yworks.yfiles.layout.hierarchic.incremental.Layerer


Public Properties
 PropertyDefined By
  oldLayerer : OldLayerer
Getter: Returns the y.layout.hierarchic.Layerer instance that is used for delegation.
OldLayererWrapper
Public Methods
 MethodDefined By
  
OldLayererWrapper(oldLayerer:OldLayerer, init:Boolean = true)
Creates a new instance of OldLayererWrapper, wrapping the given layerer.
OldLayererWrapper
  
OldLayererWrapper
 Inherited
equals(o:Object):Boolean
YObject
  
getClass():Class
[override]
OldLayererWrapper
 Inherited
hashCode():int
YObject
  
[static] Creates a new instance of OldLayererWrapper, wrapping the given layerer.
OldLayererWrapper
Protected Methods
 MethodDefined By
  
Initializes this object.
OldLayererWrapper
Property Detail
oldLayererproperty
oldLayerer:OldLayerer

Getter: Returns the y.layout.hierarchic.Layerer instance that is used for delegation.

Setter: Sets the new delegate Layerer instance.


Implementation
    public function get oldLayerer():OldLayerer
    public function set oldLayerer(value:OldLayerer):void

Throws
ReferenceError — if the argument is null
Constructor Detail
OldLayererWrapper()Constructor
public function OldLayererWrapper(oldLayerer:OldLayerer, init:Boolean = true)

Creates a new instance of OldLayererWrapper, wrapping the given layerer.

Parameters
oldLayerer:OldLayerer — the old layerer implementation
 
init: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.
Method Detail
assignLayers()method
public function assignLayers(graph:LayoutGraph, layers:Layers, ldp:LayoutDataProvider):void

Parameters

graph:LayoutGraph
 
layers:Layers
 
ldp:LayoutDataProvider

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

Returns
Class
initOldLayererWrapper()method 
protected final function initOldLayererWrapper(oldLayerer:OldLayerer):void

Initializes this object. See the documentation of the corresponding factory method newOldLayererWrapper() for details.

Parameters

oldLayerer:OldLayerer

See also

newOldLayererWrapper()method 
public static function newOldLayererWrapper(oldLayerer:OldLayerer):OldLayererWrapper

Creates a new instance of OldLayererWrapper, wrapping the given layerer.

Parameters

oldLayerer:OldLayerer — the old layerer implementation

Returns
OldLayererWrapper