|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lessvoid.nifty.effects.impl.ChangeImage
public class ChangeImage
This can be applied to an image element. This will change the original image of the element to the image given in the "active" attribute. When the effect gets deactivated the image is being restored to the image given with the "inactive" attribute.
| Constructor Summary | |
|---|---|
ChangeImage()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChangeImage()
| Method Detail |
|---|
public void activate(Nifty nifty,
Element element,
EffectProperties parameter)
EffectImpl
activate in interface EffectImplnifty - Niftyelement - Elementparameter - parameters
public void execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r)
EffectImpl
execute 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()
EffectImpl
deactivate in interface EffectImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||