IEffectpublic class Shake extends AbstractEffect
| Constructor | Description |
|---|---|
Shake(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 | Description |
|---|---|---|
void |
applyEffect(long currentTime) |
Apply this effect.
|
static void |
shake(AnimationRunner runner,
org.eclipse.swt.widgets.Control w,
int duration,
IMovement movement,
java.lang.Runnable onStop,
java.lang.Runnable onCancel) |
Deprecated.
|
cancel, doEffect, getCurrentTime, isDone, processEndpublic Shake(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 shake(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)
AbstractEffectapplyEffect in class AbstractEffect