Interface IArcBandConstraint


public interface IArcBandConstraint
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(ArcBand arcBand)
    Applies this constraint on a arc band without a (known) change.
    apply(ArcBand oldArcBand, ArcBand newArcBand, ArcBandChange change)
    Applies this constraint on a pending change.
  • Method Details

    • apply

      @NotNull ArcBand apply(@NotNull ArcBand oldArcBand, @NotNull ArcBand newArcBand, @NotNull ArcBandChange change)
      Applies this constraint on a pending change.
      Parameters:
      oldArcBand - The base arc band on which the change is performed, cannot be null.
      newArcBand - The result of the change, without any constraints applied, cannot be null.
      change - The change that was applied.
      Returns:
      The resulting arc band, after applying this constraint on the pending change. If the constraint does not apply, simply return the newArcBand. Cannot be null.
    • apply

      @NotNull ArcBand apply(@NotNull ArcBand arcBand)
      Applies this constraint on a arc band without a (known) change.
      Parameters:
      arcBand - The arc band to constrain, cannot be null.
      Returns:
      The resulting arc band, after applying this constraint. If the constraint does not apply, simply return the arcBand. Cannot be null.