Class OrganicRouterOptionsGroup

All Implemented Interfaces:
Cloneable

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

  • Constructor Details

    • OrganicRouterOptionsGroup

      public OrganicRouterOptionsGroup()
  • 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 AbstractDiagramLayouterOptionsGroup
    • initCommonDefaultValues

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

      public int getMinimumDistance()
      Get the minimum distance between any two path segments.
      Returns:
      int.
    • setMinimalDistance

      public void setMinimalDistance(int d)
      Set the minimum distance between any two path segments.
      Parameters:
      d - int.
    • setUseExistingBends

      public void setUseExistingBends(boolean b)
      Set Use Existing Bends property value. This property Specifies whether existing bends should be used as an initial solution for the new routing.
      Parameters:
      b - boolean
    • getUseExistingBends

      public boolean getUseExistingBends()
      Get Use Existing Bends property value. This property Specifies whether existing bends should be used as an initial solution for the new routing.
      Returns:
      true if should use existing bends, false otherwise
    • setRouteOnlyNecessary

      public void setRouteOnlyNecessary(boolean b)
      Set Route Only Necessary property value. If True, only paths that violate the minimal distance criterion will be rerouted.
      Parameters:
      b - boolean
    • getRouteOnlyNecessary

      public boolean getRouteOnlyNecessary()
      Get Route Only Necessary property value. If True, only paths that violate the minimal distance criterion will be rerouted.
      Returns:
      boolean.
    • 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.