Class MoveScrollBar
- java.lang.Object
-
- org.eclipse.nebula.cwt.animation.effects.AbstractEffect
-
- org.eclipse.nebula.cwt.animation.effects.MoveScrollBar
-
- All Implemented Interfaces:
IEffect
public class MoveScrollBar extends AbstractEffect
-
-
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) intstep-
Fields inherited from class org.eclipse.nebula.cwt.animation.effects.AbstractEffect
done, easingFunction, length, runnableOnCancel, runnableOnStop, startTime
-
-
Constructor Summary
Constructors Constructor Description MoveScrollBar(org.eclipse.swt.widgets.ScrollBar scrollBar, int start, int end, long lengthMilli, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyEffect(long currentTime)Apply this effect.intgetCurrent()intgetEnd()intgetStart()-
Methods inherited from class org.eclipse.nebula.cwt.animation.effects.AbstractEffect
cancel, doCancel, doEffect, doStop, getCurrentTime, isDone, processEnd
-
-
-
-
Constructor Detail
-
MoveScrollBar
public MoveScrollBar(org.eclipse.swt.widgets.ScrollBar scrollBar, int start, int end, long lengthMilli, IMovement movement, java.lang.Runnable onStop, java.lang.Runnable onCancel)
-
-
Method Detail
-
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()
-
-