@OpenApiAll public class CircularLayouterOptionsGroup extends AbstractDiagramLayouterOptionsGroup
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPACT |
static java.lang.String |
ID |
static java.lang.String |
ISOLATED |
static java.lang.String |
SINGLE_CYCLE |
ALIGNMENT_BOTTOM, ALIGNMENT_CENTER, ALIGNMENT_TOP, MAX_INT_VALUE, SHAPE_ALIGNMENT
Constructor and Description |
---|
CircularLayouterOptionsGroup()
Constructs CircularLayouterOptionsGroup
|
Modifier and Type | Method and Description |
---|---|
void |
addProperty(Property property)
Adds property to this group.
|
boolean |
getAllowOverlaps() |
boolean |
getAutoCircleRadius()
Get the radius of each circle in the layout automatically.
|
double |
getCompactnessFactor()
Get compactness factor.
|
int |
getFixedCircleRadius()
Get the fixed radius for all circles in the resulting layout.
|
java.lang.String |
getLayoutStyle()
Gets the string representation of layout style.
|
int |
getMaximalDeviationAngle()
Get the bigger the chosen value, the more compact the resulting layout.
|
int |
getMinimalLinkLength()
Get the minimal length of a path that connects two shapes that lie on separate circles.
|
int |
getMinimalShapeDistance()
Get the minimal distance between borders of two adjacent shapes on a common circle.
|
int |
getPreferredChildWedge()
Get the angular range of the sector that will be reserved for children of a shape.
|
void |
setAllowOverlaps(boolean b)
Set allow overlap.
|
void |
setAutoCircleRadius(boolean b)
Set the radius of each circle in the layout automatically.
|
void |
setCompactnessFactor(double d)
Set compactness factor.
|
void |
setDefaultValues()
Sets default values for the properties contained in this group.
|
void |
setFixedCircleRadius(int d)
Set the fixed radius for all circles in the resulting layout.
|
void |
setLayoutStyle(java.lang.String s)
Set layout style.
|
void |
setMaximalDeviationAngle(int d)
Set the bigger the chosen value, the more compact the resulting layout.
|
void |
setMinimalLinkLength(int d)
Set the minimal length of a path that connects two shapes that lie on separate circles.
|
void |
setMinimalShapeDistance(int d)
Set the minimal distance between borders of two adjacent shapes on a common circle.
|
void |
setPreferredChildWedge(int d)
Set the angular range of the sector that will be reserved for children of a shape.
|
getMakePreferredLayoutSize, isMoveToFreeSpace, setMakePreferredLayoutSize, setMoveToFreeSpace
addInvisibleProperty, addProperty, addProperty, getOptions, getProperty, getVisibleOptions, removeProperty, setOptions, setPropertiesInvisible, setPropertyInvisible
getGroupIcon, getIcon, getName
public static final java.lang.String ID
public static final java.lang.String COMPACT
public static final java.lang.String ISOLATED
public static final java.lang.String SINGLE_CYCLE
public CircularLayouterOptionsGroup()
public void setDefaultValues()
AbstractPropertyOptionsGroup
setDefaultValues
in class AbstractPropertyOptionsGroup
public java.lang.String getLayoutStyle()
public void setLayoutStyle(java.lang.String s)
s
- Style value.public int getMinimalShapeDistance()
public void setMinimalShapeDistance(int d)
d
- value.public void setAutoCircleRadius(boolean b)
b
- boolean value.public boolean getAutoCircleRadius()
public int getFixedCircleRadius()
public void setFixedCircleRadius(int d)
d
- value.public int getPreferredChildWedge()
public void setPreferredChildWedge(int d)
d
- value.public int getMinimalLinkLength()
public void setMinimalLinkLength(int d)
d
- value.public int getMaximalDeviationAngle()
public void setMaximalDeviationAngle(int d)
d
- value.public double getCompactnessFactor()
public void setCompactnessFactor(double d)
d
- value.public void setAllowOverlaps(boolean b)
b
- value.public boolean getAllowOverlaps()
public void addProperty(Property property)
AbstractPropertyOptionsGroup
AbstractPropertyOptionsGroup.addProperty(Property, String)
method.addProperty
in class AbstractPropertyOptionsGroup
property
- property to be added.