public class AutoScroll extends Object implements EffectImpl
| Constructor and Description |
|---|
AutoScroll() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(Nifty nifty,
Element element,
EffectProperties parameter)
initialize effect.
|
void |
deactivate()
deactivate the effect.
|
void |
execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r)
execute the effect.
|
public void activate(Nifty nifty, Element element, EffectProperties parameter)
EffectImplactivate in interface EffectImplnifty - Niftyelement - Elementparameter - parameterspublic void execute(Element element, float normalizedTime, Falloff falloff, NiftyRenderEngine r)
EffectImplexecute in interface EffectImplelement - the ElementnormalizedTime - current effect timefalloff - the Falloff class for hover effects. This is supposed to be null for none hover effects.r - RenderDevice to usepublic void deactivate()
EffectImpldeactivate in interface EffectImplCopyright © 2013. All Rights Reserved.