public abstract class Slide extends BaseEffect
Modifier and Type | Field and Description |
---|---|
protected Style.Direction |
dir |
protected double |
from |
protected int |
marginLeft |
protected int |
marginTop |
protected Rectangle |
oBounds |
protected Overflow |
overflow |
protected double |
to |
protected XElement |
wrapEl |
element
Constructor and Description |
---|
Slide(XElement el,
Style.Direction dir) |
Modifier and Type | Method and Description |
---|---|
abstract void |
increase(int v) |
void |
onComplete()
Fires after the effect is complete.
|
void |
onUpdate(double progress)
Fires after the effect is updated.
|
getValue, onCancel, onStart
protected Style.Direction dir
protected double from
protected double to
protected Rectangle oBounds
protected Overflow overflow
protected XElement wrapEl
protected int marginTop
protected int marginLeft
public Slide(XElement el, Style.Direction dir)
public abstract void increase(int v)
public void onComplete()
Effect
onComplete
in interface Effect
onComplete
in class BaseEffect
public void onUpdate(double progress)
Effect
onUpdate
in interface Effect
onUpdate
in class BaseEffect
progress
- the progress between 0 and 1Copyright © 2018. All rights reserved.