DroidDiagram Programmer's Guide
SwimlaneLayoutBuilder Members
Constructors Methods
 


A class used to initialize SwimlaneLayout objects.

The following tables list the members exposed by the SwimlaneLayoutBuilder type.

 Public Constructors

  Name Description

SwimlaneLayoutBuilder

Overloaded.  

 Public Methods

  Name Description

anchoring

Sets how to align links to the anchor points of nodes.

collapseEmptyLanes

Set or sets a value indicating whether lanes without associated nodes will shrink to zero size. By default, empty lanes will have size equal to the value specified through SwimlaneLayout.setLaneDistance. To be able to shrink the lanes of a lane grid to zero size, the MinHeaderSize property of the lane grid must be set to an appropriate value.

compactNodes

Sets a value indicating whether the nodes within individual lanes are compacted.

create

Creates a new object with the attributes accumulated by this builder.

direction

Sets the direction of the arranged diagram. If the orientation is set to com.mindfusion.diagramming.jlayout.Orientation.Horizontal, com.mindfusion.diagramming.jlayout.Direction.Straight stands for "left to right" and com.mindfusion.diagramming.jlayout.Direction.Reversed for "right to left". If the orientation is set to com.mindfusion.diagramming.jlayout.Orientation.Vertical, com.mindfusion.diagramming.jlayout.Direction.Straight stands for "top to bottom" and com.mindfusion.diagramming.jlayout.Direction.Reversed for "bottom to top".

get

Returns an existing object passed for initialization to this builder.

growToFit

Sets a value indicating whether the layout should increase the diagram bounds to fit the arranged content.

keepGroupLayout

Sets a value indicating whether to treat each Group of nodes as a single vertex in the arranged graph.

keepLaneSizes

Sets a value indicating whether the layout will attempt to preserve the original sizes of the lanes in the supplied grid.

laneDistance

Sets the spacing between adjacent lanes in the final layout.

layoutLink

Sets an object, which is notified when the position of a link is changed by the layout.

layoutNode

Sets an object, which is notified when the position of a node is changed by the layout.

margins

Sets the distance between the top-left corner of the smallest rectangle containing the arranged diagram and the top-left point of the document bounds.

multipleGraphsPlacement

Sets a value indicating how multiple independent graphs in the diagram should be positioned relatively to each other.

nodeDistance

Sets the spacing between adjacent nodes within a lane in the final layout.

orientation

Sets a the orientation of the arranged graph.

progress

Sets the progress callback delegate.

swimlaneGrid

Sets the object through which the layout can manipulate the swimlane grid. If this is null at the time of layout, the layout will operate on the diagram's lane grid.

 See Also

SwimlaneLayoutBuilder Class
com.mindfusion.diagramming.builders Namespace