
public class BaseEffect extends Object implements Effect
Effect implementation for elements.| Modifier | Constructor and Description |
|---|---|
protected |
BaseEffect(XElement element) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
getValue(double from,
double to,
double progress) |
void |
onCancel()
Fires after the effect is cancelled.
|
void |
onComplete()
Fires after the effect is complete.
|
void |
onStart()
Fires after the effect is started.
|
void |
onUpdate(double progress)
Fires after the effect is updated.
|
protected XElement element
protected BaseEffect(XElement element)
public void onCancel()
Effectpublic void onComplete()
EffectonComplete in interface Effectpublic void onStart()
Effectpublic void onUpdate(double progress)
Effectprotected double getValue(double from,
double to,
double progress)
Copyright © 2018. All rights reserved.