public class Blink extends BaseEffect
element
Modifier and Type | Method and Description |
---|---|
int |
getInterval() |
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.
|
void |
setInterval(int interval) |
getValue
public Blink(XElement el, int interval)
public int getInterval()
public void onCancel()
Effect
onCancel
in interface Effect
onCancel
in class BaseEffect
public void onComplete()
Effect
onComplete
in interface Effect
onComplete
in class BaseEffect
public void onStart()
Effect
onStart
in interface Effect
onStart
in class BaseEffect
public void onUpdate(double progress)
Effect
onUpdate
in interface Effect
onUpdate
in class BaseEffect
progress
- the progress between 0 and 1public void setInterval(int interval)
Copyright © 2018. All rights reserved.