Package org.eclipse.nebula.animation.movement

Provides movements which can be used when running effects in an animation.

Package Specification

Contains both easing and non easing equations:

An easing equation goes from an initial value to a target value (from 0 to 255 for instance ). These movements are :

  • Bounce
  • Elastic
  • Expo
  • Linear
  • Quart

Other equations have custom animation path. (from 0 to 0 with values going up to 255 for instance). These movements are :

  • SinusDecreraseVariation
  • SinusVariation

Easing movements contains 'In' or/and 'Out' in their names.

  • 'In' means that the major part of the movement is applied right at the beginning.
  • 'Out' means that the major part is applied at the end.
  • 'InOut' combines an movement at beginning and at the end.

Related Documentation

For snippets and additional documentation, please see:
  • Interface Summary 
    Interface Description
    IMovement
    Interface for movement implementations.
  • Class Summary 
    Class Description
    AbstractMovement
    Abstract implementation of IMovement.
    BounceOut
    Bounces at the end like a falling ball on the floor.
    ElasticOut
    Behave like an elastic at the end.
    ExpoOut
    Moves fast at first then slow down until it reaches the max value.
    LinearInOut
    Moves at a constant speed.
    QuartIn
    Moves slowly at first then accelerates until it reaches the max value.
    QuartInOut
    Moves slowly first then accelerate and finally slow down until it reaches the max value.
    QuartOut
    Moves fast at first then slow down until it reaches the max value.
    SinusDecreaseVariation
    This movement goes from 0 to 0 with intermediate values between -amplitude and amplitude an decreasing with time.
    SinusVariation
    This movement goes from 0 to 0 with intermediate values between -amplitude and amplitude.