@OpenApiAll public abstract class AbstractDiagramLayouterOptionsGroup extends AbstractPropertyOptionsGroup
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALIGNMENT_BOTTOM
Aligns layouted shapes according their bottom y coordinate.
|
static java.lang.String |
ALIGNMENT_CENTER
Aligns layouted shapes according their centers.
|
static java.lang.String |
ALIGNMENT_TOP
Aligns layouted shapes according their top y coordinate.
|
protected static java.util.List |
LAYOUT_LABEL_CONSIDERATION
Label consideration modes
|
static java.lang.String |
LAYOUT_LABEL_CONSIDERATION_FULL
Full label consideration mode.
|
static java.lang.String |
LAYOUT_LABEL_CONSIDERATION_NONE
A mode where labels are not considered.
|
static java.lang.String |
LAYOUT_LABEL_CONSIDERATION_PARTIAL
Partial label consideration mode.
|
protected static int |
MAX_INT_VALUE
The maximum allowed value for integer fields(e.g minimal node distance, minimal edge distance)
|
protected static java.util.List |
SHAPE_ALIGNMENT
Different ways of aligning shapes after layout.
|
Constructor and Description |
---|
AbstractDiagramLayouterOptionsGroup(java.lang.String id,
PropertyManager options,
boolean visible) |
Modifier and Type | Method and Description |
---|---|
boolean |
getMakePreferredLayoutSize()
Get reset shape size property value
|
boolean |
getOptimizeLabelOrientations()
Get value if label orientations should be optimized
|
protected void |
initCommonDefaultValues() |
boolean |
isMoveToFreeSpace()
Checks Is Move to free space?
|
void |
setDefaultValues()
Sets default values for the properties contained in this group.
|
void |
setMakePreferredLayoutSize(boolean b)
Set reset shape size property value
|
void |
setMoveToFreeSpace(boolean b)
Sets status move to free space
|
void |
setOptimizeLabelOrientations(boolean value)
Set reset shape size property value
|
addInvisibleProperty, addProperty, addProperty, addProperty, getOptions, getProperty, getVisibleOptions, removeProperty, setOptions, setPropertiesInvisible, setPropertyInvisible
getGroupIcon, getIcon, getName
public static final java.lang.String ALIGNMENT_TOP
public static final java.lang.String ALIGNMENT_CENTER
public static final java.lang.String ALIGNMENT_BOTTOM
protected static final java.util.List SHAPE_ALIGNMENT
public static final java.lang.String LAYOUT_LABEL_CONSIDERATION_NONE
public static final java.lang.String LAYOUT_LABEL_CONSIDERATION_PARTIAL
public static final java.lang.String LAYOUT_LABEL_CONSIDERATION_FULL
protected static final java.util.List LAYOUT_LABEL_CONSIDERATION
protected static final int MAX_INT_VALUE
public AbstractDiagramLayouterOptionsGroup(java.lang.String id, @CheckForNull PropertyManager options, boolean visible)
public void setDefaultValues()
AbstractPropertyOptionsGroup
setDefaultValues
in class AbstractPropertyOptionsGroup
protected void initCommonDefaultValues()
public void setMoveToFreeSpace(boolean b)
b
- new valuepublic boolean isMoveToFreeSpace()
public boolean getMakePreferredLayoutSize()
public void setMakePreferredLayoutSize(boolean b)
b
- new valuepublic boolean getOptimizeLabelOrientations()
public void setOptimizeLabelOrientations(boolean value)
value
- new value