Class AbstractDiagramLayouterOptionsGroup

All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
CircularLayouterOptionsGroup, HierarchicLayouterOptionsGroup, OrganicLayouterOptionsGroup, OrganicRouterOptionsGroup, OrthogonalLayouterOptionsGroup, OrthogonalRouterOptionsGroup, TreeLayouterOptionsGroup

@OpenApiAll public abstract class AbstractDiagramLayouterOptionsGroup extends AbstractPropertyOptionsGroup
  • Field Details

    • ALIGNMENT_TOP

      public static final String ALIGNMENT_TOP
      Aligns layouted shapes according their top y coordinate.
      See Also:
    • ALIGNMENT_CENTER

      public static final String ALIGNMENT_CENTER
      Aligns layouted shapes according their centers.
      See Also:
    • ALIGNMENT_BOTTOM

      public static final String ALIGNMENT_BOTTOM
      Aligns layouted shapes according their bottom y coordinate.
      See Also:
    • SHAPE_ALIGNMENT

      protected static final List SHAPE_ALIGNMENT
      Different ways of aligning shapes after layout.
    • LAYOUT_LABEL_CONSIDERATION_NONE

      public static final String LAYOUT_LABEL_CONSIDERATION_NONE
      A mode where labels are not considered.
      See Also:
    • LAYOUT_LABEL_CONSIDERATION_PARTIAL

      public static final String LAYOUT_LABEL_CONSIDERATION_PARTIAL
      Partial label consideration mode.
      See Also:
    • LAYOUT_LABEL_CONSIDERATION_FULL

      public static final String LAYOUT_LABEL_CONSIDERATION_FULL
      Full label consideration mode.
      See Also:
    • LAYOUT_LABEL_CONSIDERATION

      protected static final List LAYOUT_LABEL_CONSIDERATION
      Label consideration modes
    • MAX_INT_VALUE

      protected static final int MAX_INT_VALUE
      The maximum allowed value for integer fields(e.g minimal node distance, minimal edge distance)
      See Also:
  • Constructor Details

    • AbstractDiagramLayouterOptionsGroup

      public AbstractDiagramLayouterOptionsGroup(String id, @CheckForNull PropertyManager options, boolean visible)
  • Method Details

    • setDefaultValues

      public void setDefaultValues()
      Description copied from class: AbstractPropertyOptionsGroup
      Sets default values for the properties contained in this group. Overriding classes should set default values to the properties.
      Overrides:
      setDefaultValues in class AbstractPropertyOptionsGroup
    • initCommonDefaultValues

      protected void initCommonDefaultValues()
    • setMoveToFreeSpace

      public void setMoveToFreeSpace(boolean b)
      Sets status move to free space
      Parameters:
      b - new value
    • isMoveToFreeSpace

      public boolean isMoveToFreeSpace()
      Checks Is Move to free space?
      Returns:
      boolean
    • getMakePreferredLayoutSize

      public boolean getMakePreferredLayoutSize()
      Get reset shape size property value
      Returns:
      b
    • setMakePreferredLayoutSize

      public void setMakePreferredLayoutSize(boolean b)
      Set reset shape size property value
      Parameters:
      b - new value
    • getOptimizeLabelOrientations

      public boolean getOptimizeLabelOrientations()
      Get value if label orientations should be optimized
      Returns:
      b
    • setOptimizeLabelOrientations

      public void setOptimizeLabelOrientations(boolean value)
      Set reset shape size property value
      Parameters:
      value - new value
    • getCopy