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) 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.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
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.cwt.animation.effects.AbstractEffect
cancel, doCancel, doEffect, doStop, getCurrentTime, isDone, processEnd
-
Field Details
-
Constructor Details
-
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 Details
-
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()
-