com.mindfusion.diagramming.jlayout
Class CircularLayoutInfo

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

public class CircularLayoutInfo
extends java.lang.Object


Constructor Summary
CircularLayoutInfo()
          Initializes a new instance of the CircularLayoutInfo class.
 
Method Summary
 XDimension2D.Double getMargins()
          Gets the distance between the top-left corner of the smallest rectangle containing the arranged tree and the top-left point of the document bounds.
 float getRadius()
          Gets the radius of the layout circle.
 int getSiftingRounds()
          Gets the number of sifts to perform during the layout.
 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 setRadius(float value)
          Sets the radius of the layout circle.
 void setSiftingRounds(int value)
          Sets the number of sifts to perform during the layout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CircularLayoutInfo

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

Method Detail

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.


getMargins

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


setRadius

public void setRadius(float value)
Sets the radius of the layout circle.

Parameters:
value - A float value specifying the radius; the default is 60.

getRadius

public float getRadius()
Gets the radius of the layout circle.

Returns:
A float value specifying the radius; the default is 60.

setSiftingRounds

public void setSiftingRounds(int value)
Sets the number of sifts to perform during the layout.

Parameters:
value - An integer value specifying the number of sifting rounds; the default is 1.

getSiftingRounds

public int getSiftingRounds()
Gets the number of sifts to perform during the layout.

Returns:
An integer value specifying the number of sifting rounds; the default is 1.