public class ResizeEffect extends AbstractEffect
Modifier and Type | Field and Description |
---|---|
(package private) org.eclipse.swt.widgets.Control |
control |
(package private) org.eclipse.swt.graphics.Point |
dest |
(package private) org.eclipse.swt.graphics.Point |
diff |
(package private) org.eclipse.swt.graphics.Point |
src |
done, easingFunction, length, runnableOnCancel, runnableOnStop
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
void |
applyEffect(long currentTime)
Apply this effect.
|
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.
|
cancel, doCancel, doEffect, doEffect, doStop, getLength, isDone, processEnd
org.eclipse.swt.graphics.Point src
org.eclipse.swt.graphics.Point dest
org.eclipse.swt.graphics.Point diff
org.eclipse.swt.widgets.Control control
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)
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)
w
- x
- y
- duration
- movement
- onStop
- onCancel
- public void applyEffect(long currentTime)
AbstractEffect
applyEffect
in class AbstractEffect