Class ResizeEffect
- java.lang.Object
-
- org.eclipse.nebula.animation.effects.AbstractEffect
-
- org.eclipse.nebula.animation.effects.ResizeEffect
-
- All Implemented Interfaces:
IEffect
public class ResizeEffect extends AbstractEffect
Changes width and height of a control.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.eclipse.swt.widgets.Controlcontrol(package private) org.eclipse.swt.graphics.Pointdest(package private) org.eclipse.swt.graphics.Pointdiff(package private) org.eclipse.swt.graphics.Pointsrc-
Fields inherited from class org.eclipse.nebula.animation.effects.AbstractEffect
done, easingFunction, length, runnableOnCancel, runnableOnStop
-
-
Constructor Summary
Constructors Constructor Description ResizeEffect(org.eclipse.swt.widgets.Control control, org.eclipse.swt.graphics.Point src, org.eclipse.swt.graphics.Point dest, long lengthMilli, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidapplyEffect(long currentTime)Apply this effect.static voidresize(AnimationRunner runner, org.eclipse.swt.widgets.Control w, int x, int y, int duration, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel)Deprecated.-
Methods inherited from class org.eclipse.nebula.animation.effects.AbstractEffect
cancel, doCancel, doEffect, doEffect, doStop, getLength, isDone, processEnd
-
-
-
-
Constructor Detail
-
ResizeEffect
public ResizeEffect(org.eclipse.swt.widgets.Control control, org.eclipse.swt.graphics.Point src, org.eclipse.swt.graphics.Point dest, long lengthMilli, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel)
-
-
Method Detail
-
resize
public static void resize(AnimationRunner runner, org.eclipse.swt.widgets.Control w, int x, int y, int duration, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel)
Deprecated.- Parameters:
w-x-y-duration-movement-onStop-onCancel-
-
applyEffect
public void applyEffect(long currentTime)
Description copied from class:AbstractEffectApply this effect.- Specified by:
applyEffectin classAbstractEffect
-
-