Interface JaxoWiggleObject

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getAmp()
      Gets the amplitude of this WiggleObject.
      float getFrequency()
      Gets the current frequency (number of wiggles per unit length) of this WiggleObject.
      int getWiggles()
      Gets the number of wiggles of this WiggleObject.
      void setAmp​(int amp)
      Sets the amplitude of this WiggleObject.
      void setFrequencyFromWiggles​(int wiggles)
      Sets the number of wiggles to the given value and derives the frequency from it.
      void setWiggles​(int wiggles)
      Sets the number of wiggles of this WiggleObject.
      void setWigglesFromFrequency()
      Sets the number of wiggles from the current frequency.
      void setWigglesFromFrequency​(float frequency)
      Sets the frequency to the given value and derives the number of wiggles from it.
    • Method Detail

      • setWiggles

        void setWiggles​(int wiggles)
        Sets the number of wiggles of this WiggleObject.
        Parameters:
        wiggles - The number of wiggles.
      • getWiggles

        int getWiggles()
        Gets the number of wiggles of this WiggleObject.
        Returns:
        The number of wiggles.
      • setAmp

        void setAmp​(int amp)
        Sets the amplitude of this WiggleObject.
        Parameters:
        amp - The amplitude to set.
      • getAmp

        int getAmp()
        Gets the amplitude of this WiggleObject.
        Returns:
        The amplitude.
      • getFrequency

        float getFrequency()
        Gets the current frequency (number of wiggles per unit length) of this WiggleObject.
        Returns:
        The frequency.
      • setWigglesFromFrequency

        void setWigglesFromFrequency()
        Sets the number of wiggles from the current frequency.
      • setWigglesFromFrequency

        void setWigglesFromFrequency​(float frequency)
        Sets the frequency to the given value and derives the number of wiggles from it.
        Parameters:
        frequency - The frequency to set.
      • setFrequencyFromWiggles

        void setFrequencyFromWiggles​(int wiggles)
        Sets the number of wiggles to the given value and derives the frequency from it.
        Parameters:
        wiggles - The number of wiggles to set.