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) int
dest
(package private) int
diff
(package private) GalleryItem
item
(package private) int
src
Fields 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 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
-
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:AbstractEffect
Apply this effect.- Specified by:
applyEffect
in classAbstractEffect
- See Also:
org.sharemedia.ui.sat.AbstractEffect#applyEffect(long)
-