Class MoveScrollBarEffect
java.lang.Object
org.eclipse.nebula.animation.effects.AbstractEffect
org.eclipse.nebula.animation.effects.MoveScrollBarEffect
- All Implemented Interfaces:
IEffect
public class MoveScrollBarEffect extends AbstractEffect
Scrolls a control.
-
Field Summary
Fields Modifier and Type Field Description (package private) intcurrent(package private) intend(package private) org.eclipse.swt.widgets.ScrollBarscrollBar(package private) intstart(package private) intstepFields inherited from class org.eclipse.nebula.animation.effects.AbstractEffect
done, easingFunction, length, runnableOnCancel, runnableOnStop -
Constructor Summary
Constructors Constructor Description MoveScrollBarEffect(org.eclipse.swt.widgets.ScrollBar scrollBar, int start, int end, long lengthMilli, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel) -
Method Summary
Modifier and Type Method Description voidapplyEffect(long currentTime)Apply this effect.intgetCurrent()intgetEnd()intgetStart()Methods inherited from class org.eclipse.nebula.animation.effects.AbstractEffect
cancel, doCancel, doEffect, doEffect, doStop, getLength, isDone, processEnd
-
Field Details
-
Constructor Details
-
MoveScrollBarEffect
public MoveScrollBarEffect(org.eclipse.swt.widgets.ScrollBar scrollBar, int start, int end, long lengthMilli, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel)
-
-
Method Details
-
applyEffect
public void applyEffect(long currentTime)Description copied from class:AbstractEffectApply this effect.- Specified by:
applyEffectin classAbstractEffect
-
getStart
public int getStart() -
getEnd
public int getEnd() -
getCurrent
public int getCurrent()
-