Class SetColorEffect

java.lang.Object
org.eclipse.nebula.animation.effects.AbstractEffect
org.eclipse.nebula.animation.effects.SetColorEffect
All Implemented Interfaces:
IEffect

public class SetColorEffect
extends AbstractEffect
Progressively changes the color of an object.
  • Field Details

  • Constructor Details

    • SetColorEffect

      public SetColorEffect​(SetColorEffect.IColoredObject control, org.eclipse.swt.graphics.Color src, org.eclipse.swt.graphics.Color dest, long lengthMilli, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel)

      Create a new effect on object control.

      Source and destination color will not be disposed during or after the animation. All other temporary colors created by this effect will be disposed automatically.

      Parameters:
      control -
      src -
      dest -
      lengthMilli -
      movement -
      onStop - can be a Runnable or null
      onCancel - can be a Runnable or null
  • Method Details