Class OrthogonalRouterOptionsGroup

All Implemented Interfaces:
Cloneable

@OpenApiAll public class OrthogonalRouterOptionsGroup extends AbstractDiagramLayouterOptionsGroup
Organic Layouter options group.
  • Field Details

  • Constructor Details

    • OrthogonalRouterOptionsGroup

      public OrthogonalRouterOptionsGroup()
  • Method Details

    • addProperty

      public void addProperty(Property property)
      Description copied from class: AbstractPropertyOptionsGroup
      Adds property to this group. DescriptionID will be reset. To add property with description use AbstractPropertyOptionsGroup.addProperty(Property, String) method.
      Overrides:
      addProperty in class AbstractPropertyOptionsGroup
      Parameters:
      property - property to be added.
    • 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 AbstractDiagramLayouterOptionsGroup
    • initCommonDefaultValues

      protected void initCommonDefaultValues()
      Overrides:
      initCommonDefaultValues in class AbstractDiagramLayouterOptionsGroup
    • getMinimalFirstSegmentLength

      public int getMinimalFirstSegmentLength()
      Get the minimal length of the first and last segments for orthogonal path routings, i.e. the length from the intersection points to the first or last bend point respectively.
      Returns:
      int value.
    • setMinimalFirstSegmentLength

      public void setMinimalFirstSegmentLength(int d)
      Set the minimal length of the first and last segments for orthogonal path routings, i.e. the length from the intersection points to the first or last bend point respectively.
      Parameters:
      d - the new minimal first segment length value
    • getMinimalShapeToPathDistance

      public int getMinimalShapeToPathDistance()
      Gets the minimal distance between paths and shapes.
      Returns:
      int value.
    • setMinimalShapeToPathDistance

      public void setMinimalShapeToPathDistance(int d)
      Determines the minimal distance between paths and shapes.
      Parameters:
      d - the new minimal shape to path distance value
    • getMinimalPathToPathDistance

      public int getMinimalPathToPathDistance()
      Gets the distance between two paths.
      Returns:
      int value.
    • setMinimalPathToPathDistance

      public void setMinimalPathToPathDistance(int d)
      Determines the distance between two paths.
      Parameters:
      d - the new minimal path to path distance value
    • setRouteOnGrid

      public void setRouteOnGrid(boolean b)
      Set Route On Grid property value. If True, all paths are routed on grid lines from the predefined grid.
      Parameters:
      b - boolean.
    • getRouteOnGrid

      public boolean getRouteOnGrid()
      Get Route On Grid property value.
      Returns:
      trueif all paths are to be routed on grid lines from the predefined grid.