-
public class SteppedComponentAnimation<T extends ComponentView> extends ComponentAnimation<T>
SteppedComponentAnimation baseclass.
-
-
Field Summary
Fields Modifier and Type Field Description private final Integer
speed
private final T
componentView
private Boolean
running
private Function1<AnimationFinishedEvent, Unit>
onFinished
private final Integer
duration
-
Method Summary
Modifier and Type Method Description final Integer
getSpeed()
final T
getComponentView()
final Boolean
getRunning()
Boolean indicating whether the Animation is currently running. final Unit
setRunning(Boolean running)
Boolean indicating whether the Animation is currently running. final Function1<AnimationFinishedEvent, Unit>
getOnFinished()
Gets invoked when Animation has finished. final Unit
setOnFinished(Function1<AnimationFinishedEvent, Unit> onFinished)
Gets invoked when Animation has finished. final Integer
getDuration()
-
-
Method Detail
-
getComponentView
final T getComponentView()
-
getRunning
final Boolean getRunning()
-
setRunning
final Unit setRunning(Boolean running)
-
getOnFinished
final Function1<AnimationFinishedEvent, Unit> getOnFinished()
Gets invoked when Animation has finished.
-
setOnFinished
final Unit setOnFinished(Function1<AnimationFinishedEvent, Unit> onFinished)
Gets invoked when Animation has finished.
-
getDuration
final Integer getDuration()
-
-
-
-