Class SetBoundsEffect
- java.lang.Object
-
- org.eclipse.nebula.animation.effects.AbstractEffect
-
- org.eclipse.nebula.animation.effects.SetBoundsEffect
-
- All Implemented Interfaces:
IEffect
public class SetBoundsEffect extends AbstractEffect
Changes all bounds of a control.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.eclipse.swt.widgets.Control
control
(package private) org.eclipse.swt.graphics.Rectangle
dest
(package private) org.eclipse.swt.graphics.Rectangle
diff
(package private) org.eclipse.swt.graphics.Rectangle
src
-
Fields inherited from class org.eclipse.nebula.animation.effects.AbstractEffect
done, easingFunction, length, runnableOnCancel, runnableOnStop
-
-
Constructor Summary
Constructors Constructor Description SetBoundsEffect(org.eclipse.swt.widgets.Control control, org.eclipse.swt.graphics.Rectangle src, org.eclipse.swt.graphics.Rectangle dest, long lengthMilli, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyEffect(long currentTime)
Apply this effect.-
Methods inherited from class org.eclipse.nebula.animation.effects.AbstractEffect
cancel, doCancel, doEffect, doEffect, doStop, getLength, isDone, processEnd
-
-
-
-
Constructor Detail
-
SetBoundsEffect
public SetBoundsEffect(org.eclipse.swt.widgets.Control control, org.eclipse.swt.graphics.Rectangle src, org.eclipse.swt.graphics.Rectangle dest, long lengthMilli, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel)
-
-
Method Detail
-
applyEffect
public void applyEffect(long currentTime)
Description copied from class:AbstractEffect
Apply this effect.- Specified by:
applyEffect
in classAbstractEffect
-
-