Class GalleryGroupResizeEffect
java.lang.Object
org.eclipse.nebula.animation.effects.AbstractEffect
org.eclipse.nebula.widgets.gallery.GalleryGroupResizeEffect
- All Implemented Interfaces:
IEffect
public class GalleryGroupResizeEffect extends AbstractEffect
Animation used internally on collapse / expand events. Should not be used directly.
NOTE: THIS WIDGET AND ITS API ARE STILL UNDER DEVELOPMENT.
-
Field Summary
Fields Modifier and Type Field Description (package private) intdest(package private) intdiff(package private) GalleryItemitem(package private) intsrcFields inherited from class org.eclipse.nebula.animation.effects.AbstractEffect
done, easingFunction, length, runnableOnCancel, runnableOnStop -
Constructor Summary
Constructors Constructor Description GalleryGroupResizeEffect(GalleryItem item, int src, int dest, long lengthMilli, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel)Set up a new resize effect on a gallery item. -
Method Summary
Modifier and Type Method Description voidapplyEffect(long currentTime)Apply this effect.Methods inherited from class org.eclipse.nebula.animation.effects.AbstractEffect
cancel, doCancel, doEffect, doEffect, doStop, getLength, isDone, processEnd
-
Field Details
-
src
int src -
dest
int dest -
diff
int diff -
item
GalleryItem item
-
-
Constructor Details
-
GalleryGroupResizeEffect
public GalleryGroupResizeEffect(GalleryItem item, int src, int dest, long lengthMilli, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel)Set up a new resize effect on a gallery item.- Parameters:
item-src-dest-lengthMilli-movement-onStop-onCancel-
-
-
Method Details
-
applyEffect
public void applyEffect(long currentTime)Description copied from class:AbstractEffectApply this effect.- Specified by:
applyEffectin classAbstractEffect- See Also:
org.sharemedia.ui.sat.AbstractEffect#applyEffect(long)
-