com.mindfusion.diagramming.jlayout
Class OneWayLayoutInfo

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

public class OneWayLayoutInfo
extends java.lang.Object

Contains settings for the OneWayLayout class.


Constructor Summary
OneWayLayoutInfo()
          Initializes a new instance of the OneWayLayoutInfo class.
 
Method Summary
 XDimension2D.Double getMargins()
          Gets the distance between the top-left corner of the smallest rectangle containing the arranged graph and the top-left point of the document bounds.
 float getNodeDistance()
          Gets the minimum spacing between adjacent nodes in the final layout.
 int getOrientation()
          Gets the orientation of the arranged graph.
 boolean getRoundedLinks()
          Gets a value indicating whether the layout will smooth link bends.
 void setMargins(XDimension2D.Double value)
          Sets the distance between the top-left corner of the smallest rectangle containing the arranged graph and the top-left point of the document bounds.
 void setNodeDistance(float value)
          Gets the minimum spacing between adjacent nodes in the final layout.
 void setOrientation(int value)
          Gets the orientation of the arranged graph.
 void setRoundedLinks(boolean value)
          Sets a value indicating whether the layout will smooth link bends.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneWayLayoutInfo

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

Method Detail

getMargins

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


setMargins

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


getRoundedLinks

public boolean getRoundedLinks()
Gets a value indicating whether the layout will smooth link bends.


setRoundedLinks

public void setRoundedLinks(boolean value)
Sets a value indicating whether the layout will smooth link bends.


getOrientation

public int getOrientation()
Gets the orientation of the arranged graph.


setOrientation

public void setOrientation(int value)
Gets the orientation of the arranged graph.


getNodeDistance

public float getNodeDistance()
Gets the minimum spacing between adjacent nodes in the final layout.


setNodeDistance

public void setNodeDistance(float value)
Gets the minimum spacing between adjacent nodes in the final layout.