@OpenApiAll public class OrganicLayouterOptionsGroup extends AbstractDiagramLayouterOptionsGroup
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
ALIGNMENT_BOTTOM, ALIGNMENT_CENTER, ALIGNMENT_TOP, LAYOUT_LABEL_CONSIDERATION, LAYOUT_LABEL_CONSIDERATION_FULL, LAYOUT_LABEL_CONSIDERATION_NONE, LAYOUT_LABEL_CONSIDERATION_PARTIAL, MAX_INT_VALUE, SHAPE_ALIGNMENT
Constructor and Description |
---|
OrganicLayouterOptionsGroup() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(Property property)
Adds property to this group.
|
double |
getGravityFactor()
Get Gravity Factor property value.
|
int |
getLinkAttraction()
Get Link Attraction property value.
|
double |
getPackageShapeCompactness()
Get Packages Shape Compactness property value.
|
int |
getPreferredLinkLength()
Get the preferred length of all paths.
|
int |
getShapeRepulsion()
Get Shape Repulsion.
|
protected void |
initCommonDefaultValues() |
boolean |
isActivateTreeBeautifier()
Checks Activate Tree Beautifier.
|
boolean |
isLayoutOnlyTopLevel()
Check Layout Only Top Level property value.
|
boolean |
isObeyShapeSize()
Checks The obay Shape Size.
|
void |
setActivateTreeBeautifier(boolean b)
Set Activate Tree Beautifier.
|
void |
setGravityFactor(double d)
Set Gravity Factor property value.
|
void |
setLayoutOnlyTopLevel(boolean b)
Set Layout Only Top Level property value in order to keeps the relative position of symbols inside packages and performs the top level layout.
|
void |
setLinkAttraction(int a)
Set Link Attraction property value.
|
void |
setObeyShapeSize(boolean b)
Set The obey Shape Size.
|
void |
setPackageShapeCompactness(double d)
Set Packages Shape Compactness property value.
|
void |
setPreferredLinkLength(int len)
Set the preferred length of all paths.
|
void |
setShapeRepulsion(int a)
Set Shape Repulsion.
|
getMakePreferredLayoutSize, getOptimizeLabelOrientations, isMoveToFreeSpace, setDefaultValues, setMakePreferredLayoutSize, setMoveToFreeSpace, setOptimizeLabelOrientations
addInvisibleProperty, addProperty, addProperty, getOptions, getProperty, getVisibleOptions, removeProperty, setOptions, setPropertiesInvisible, setPropertyInvisible
getGroupIcon, getIcon, getName
public static final java.lang.String ID
protected void initCommonDefaultValues()
initCommonDefaultValues
in class AbstractDiagramLayouterOptionsGroup
public void setPreferredLinkLength(int len)
len
- The given value.public int getPreferredLinkLength()
public void setObeyShapeSize(boolean b)
b
- boolean.public boolean isObeyShapeSize()
public void setActivateTreeBeautifier(boolean b)
b
- booleanpublic boolean isActivateTreeBeautifier()
public void setLayoutOnlyTopLevel(boolean b)
b
- boolean.public boolean isLayoutOnlyTopLevel()
public void setGravityFactor(double d)
d
- double.public double getGravityFactor()
public void setPackageShapeCompactness(double d)
d
- double.public double getPackageShapeCompactness()
public void setLinkAttraction(int a)
a
- int.public int getLinkAttraction()
public void setShapeRepulsion(int a)
a
- the shape repulsion value to setpublic int getShapeRepulsion()
public void addProperty(Property property)
AbstractPropertyOptionsGroup
AbstractPropertyOptionsGroup.addProperty(Property, String)
method.addProperty
in class AbstractPropertyOptionsGroup
property
- property to be added.