DroidDiagram Programmer's Guide
SwimlaneLayout Class
Remarks See Also
 






Implements an algorithm which arranges nodes in lanes.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public class SwimlaneLayout extends AbstractLayout

 Remarks

This layout algorithm can be used to arrange process diagrams in which nodes representing activities are placed in swimlanes representing resources. The index of the resource allocated to an activity should be assigned to the corresponding node's LayoutTraits via the SwimlaneLayoutTraits.Lane key.

By default, the algorithm works with the diagram's LaneGrid, but its SwimlaneGrid property can be set to any class that implements the SwimlaneGrid interface. This allows applying the layout to a custom-drawn grid rendered through the drawBackground event, or one composed of locked background nodes.

 Inheritance Hierarchy

java.lang.Object
    com.mindfusion.diagramming.AbstractLayout
        com.mindfusion.diagramming.SwimlaneLayout

 See Also

SwimlaneLayout Members
com.mindfusion.diagramming Namespace