jm.audio.synth

## Class SpringObject

- java.lang.Object
- - jm.audio.synth.SpringObject

-     public class SpringObject
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SpringObject()` start pixel location of spring
    `SpringObject(double constant)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `getCurrentForce(double currStartPosition, double currEndPosition)`
    `void` | `setRestingLength(int length)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SpringObject

          public SpringObject()

      start pixel location of spring

    - #### SpringObject

          public SpringObject(double constant)

  - ### Method Detail

    - #### getCurrentForce

          public double getCurrentForce(double currStartPosition,
                               double currEndPosition)

    - #### setRestingLength

          public void setRestingLength(int length)