public class GrowEffect extends AbstractEffect
Modifier and Type | Field and 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 |
done, easingFunction, length, runnableOnCancel, runnableOnStop
Constructor and Description |
---|
GrowEffect(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) |
Modifier and Type | Method and Description |
---|---|
void |
applyEffect(long currentTime)
Apply this effect.
|
void |
grow(AnimationRunner runner,
org.eclipse.swt.widgets.Control w,
int duration,
IMovement movement,
java.lang.Runnable onStop,
java.lang.Runnable onCancel)
Deprecated.
|
cancel, doCancel, doEffect, doEffect, doStop, getLength, isDone, processEnd
org.eclipse.swt.graphics.Rectangle src
org.eclipse.swt.graphics.Rectangle dest
org.eclipse.swt.graphics.Rectangle diff
org.eclipse.swt.widgets.Control control
public GrowEffect(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)
public void grow(AnimationRunner runner, org.eclipse.swt.widgets.Control w, int duration, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel)
w
- duration
- movement
- onStop
- onCancel
- public void applyEffect(long currentTime)
AbstractEffect
applyEffect
in class AbstractEffect