Packagecom.yworks.yfiles.layout
Classpublic class Swimlanes_SwimlaneRepresentant
InheritanceSwimlanes_SwimlaneRepresentant Inheritance YObject Inheritance Object

Class that internally represents a swim lane.



Public Properties
 PropertyDefined By
  allowRearrangement : Boolean
Specifies whether the represented swim lane can be rearranged.
Swimlanes_SwimlaneRepresentant
  swimlanePos : int
Specifies the current position of the represented swim lane.
Swimlanes_SwimlaneRepresentant
Public Methods
 MethodDefined By
  
Swimlanes_SwimlaneRepresentant(swimlanePos:int, allowRearrangement:Boolean, init:Boolean = true)
Creates a new instance of SwimlaneRepresentant.
Swimlanes_SwimlaneRepresentant
 Inherited
equals(o:Object):Boolean
YObject
  
getClass():Class
[override]
Swimlanes_SwimlaneRepresentant
 Inherited
hashCode():int
YObject
  
newSwimlanes_SwimlaneRepresentant(swimlanePos:int, allowRearrangement:Boolean):Swimlanes_SwimlaneRepresentant
[static] Creates a new instance of SwimlaneRepresentant.
Swimlanes_SwimlaneRepresentant
Protected Methods
 MethodDefined By
  
initSwimlanes_SwimlaneRepresentant(swimlanePos:int, allowRearrangement:Boolean):void
Initializes this object.
Swimlanes_SwimlaneRepresentant
Property Detail
allowRearrangementproperty
allowRearrangement:Boolean

Specifies whether the represented swim lane can be rearranged.

For all swim lanes with rearrangement set to false, the relative ordering given by swimlanePos is preserved. The remaining swim lanes may be rearranged.


Implementation
    public function get allowRearrangement():Boolean
    public function set allowRearrangement(value:Boolean):void

See also

swimlanePosproperty 
swimlanePos:int

Specifies the current position of the represented swim lane.


Implementation
    public function get swimlanePos():int
    public function set swimlanePos(value:int):void

See also

Constructor Detail
Swimlanes_SwimlaneRepresentant()Constructor
public function Swimlanes_SwimlaneRepresentant(swimlanePos:int, allowRearrangement:Boolean, init:Boolean = true)

Creates a new instance of SwimlaneRepresentant.

Parameters
swimlanePos:int — denotes the current position of the represented swim lane.
 
allowRearrangement:Booleantrue if the represented swim lane may be rearranged (see allowRearrangement)
 
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.

See also

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

Returns
Class
initSwimlanes_SwimlaneRepresentant()method 
protected final function initSwimlanes_SwimlaneRepresentant(swimlanePos:int, allowRearrangement:Boolean):void

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

Parameters

swimlanePos:int
 
allowRearrangement:Boolean

See also

newSwimlanes_SwimlaneRepresentant()method 
public static function newSwimlanes_SwimlaneRepresentant(swimlanePos:int, allowRearrangement:Boolean):Swimlanes_SwimlaneRepresentant

Creates a new instance of SwimlaneRepresentant.

Parameters

swimlanePos:int — denotes the current position of the represented swim lane.
 
allowRearrangement:Booleantrue if the represented swim lane may be rearranged (see allowRearrangement)

Returns
Swimlanes_SwimlaneRepresentant

See also