code: public final void setMaxDragDistance(final float maxDragDistance) {
          if (maxDragDistance != 0) {
              Condition.INSTANCE.ensureGreater(maxDragDistance, threshold,
                      "The maximum drag distance must be greater than " + threshold);
          }
  
          this.maxDragDistance = maxDragDistance;
      }
docs: Sets the maximum drag distance.
  
  @param maxDragDistance
  The maximum drag distance, which should be set, in pixels as a {@link Float} value or
  0, if no maximum drag distance should be set