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) int
current
(package private) int
end
(package private) org.eclipse.swt.widgets.ScrollBar
scrollBar
(package private) int
start
(package private) int
step
-
Fields 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyEffect(long currentTime)
Apply this effect.int
getCurrent()
int
getEnd()
int
getStart()
-
Methods inherited from class org.eclipse.nebula.animation.effects.AbstractEffect
cancel, doCancel, doEffect, doEffect, doStop, getLength, isDone, processEnd
-
-
-
-
Constructor Detail
-
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 Detail
-
applyEffect
public void applyEffect(long currentTime)
Description copied from class:AbstractEffect
Apply this effect.- Specified by:
applyEffect
in classAbstractEffect
-
getStart
public int getStart()
-
getEnd
public int getEnd()
-
getCurrent
public int getCurrent()
-
-