Class Resize
java.lang.Object
org.eclipse.nebula.cwt.animation.effects.AbstractEffect
org.eclipse.nebula.cwt.animation.effects.Resize
- All Implemented Interfaces:
IEffect
public class Resize extends AbstractEffect
-
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.PointsrcFields inherited from class org.eclipse.nebula.cwt.animation.effects.AbstractEffect
done, easingFunction, length, runnableOnCancel, runnableOnStop, startTime -
Constructor Summary
-
Method Summary
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.cwt.animation.effects.AbstractEffect
cancel, doCancel, doEffect, doStop, getCurrentTime, isDone, processEnd
-
Field Details
-
Constructor Details
-
Method Details
-
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
-