com.mindfusion.diagramming.jlayout
Class OrthogonalLayoutInfo

java.lang.Object
  extended by com.mindfusion.diagramming.jlayout.OrthogonalLayoutInfo

public class OrthogonalLayoutInfo
extends java.lang.Object


Constructor Summary
OrthogonalLayoutInfo()
          Initializes a new instance of the OrthogonalLayoutInfo class.
 
Method Summary
 boolean getDirected()
          Gets a value indicating whether the graph being laid out is directed.
 XDimension2D.Double getMargins()
          Sets the distance between the top-left corner of the smallest rectangle containing the arranged tree and the top-left point of the document bounds.
 boolean getMinimizeLinkBends()
           
 float getMinLaneSize()
          Gets or sets a value indicating the minimum size of a lane.
 float getPadding()
          Gets a value indicating how much space to leave between nodes in adjacent lanes.
 boolean getRefine()
          Gets or sets a value indicating whether to refine the layout.
 void setDirected(boolean directed)
          Sets a value indicating whether the graph being laid out is directed.
 void setMargins(XDimension2D.Double margins)
          Sets the distance between the top-left corner of the smallest rectangle containing the arranged tree and the top-left point of the document bounds.
 void setMinimizeLinkBends(boolean value)
          Sets a value indicating whether the layout should attempt to minimize link bends.
 void setMinLaneSize(float value)
          Gets or sets a value indicating the minimum size of a lane.
 void setPadding(float padding)
          Sets a value indicating how much space to leave between nodes in adjacent lanes.
 void setRefine(boolean refine)
          Gets or sets a value indicating whether to refine the layout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrthogonalLayoutInfo

public OrthogonalLayoutInfo()
Initializes a new instance of the OrthogonalLayoutInfo class.

Method Detail

getMargins

public XDimension2D.Double getMargins()
Sets the distance between the top-left corner of the smallest rectangle containing the arranged tree and the top-left point of the document bounds.


setMargins

public void setMargins(XDimension2D.Double margins)
Sets the distance between the top-left corner of the smallest rectangle containing the arranged tree and the top-left point of the document bounds.


getDirected

public boolean getDirected()
Gets a value indicating whether the graph being laid out is directed.


setDirected

public void setDirected(boolean directed)
Sets a value indicating whether the graph being laid out is directed.


getRefine

public boolean getRefine()
Gets or sets a value indicating whether to refine the layout.


setRefine

public void setRefine(boolean refine)
Gets or sets a value indicating whether to refine the layout.


getPadding

public float getPadding()
Gets a value indicating how much space to leave between nodes in adjacent lanes.


setPadding

public void setPadding(float padding)
Sets a value indicating how much space to leave between nodes in adjacent lanes.


getMinLaneSize

public float getMinLaneSize()
Gets or sets a value indicating the minimum size of a lane.


setMinLaneSize

public void setMinLaneSize(float value)
Gets or sets a value indicating the minimum size of a lane.


getMinimizeLinkBends

public boolean getMinimizeLinkBends()
Returns:
Gets a value indicating whether the layout should attempt to minimize link bends.

setMinimizeLinkBends

public void setMinimizeLinkBends(boolean value)
Sets a value indicating whether the layout should attempt to minimize link bends.

Parameters:
value - true to minimize link bends, otherwise false. The default value is true.