public class Effect extends Object
Constructor and Description |
---|
Effect(Nifty niftyParam,
boolean inheritParam,
boolean postParam,
boolean overlayParam,
String alternateEnableParam,
String alternateDisableParam,
String customKeyParam,
boolean neverStopRenderingParam,
EffectEventId effectEventIdParam) |
Modifier and Type | Method and Description |
---|---|
boolean |
customKeyMatches(String customKeyToCheck) |
void |
enableHover(Falloff falloffParameter) |
void |
enableInfinite() |
void |
execute(NiftyRenderEngine r) |
String |
getAlternate() |
boolean |
getCustomFlag() |
String |
getCustomKey() |
<T extends EffectImpl> |
getEffectImpl(Class<T> requestedClass) |
EffectProperties |
getParameters() |
String |
getStateString() |
void |
hoverDistance(int x,
int y) |
void |
init(Element elementParam,
EffectImpl effectImplParam,
EffectProperties parameterParam,
TimeProvider timeParam,
LinkedList<Object> controllers) |
boolean |
isActive() |
boolean |
isAlternateDisable() |
boolean |
isHoverEffect() |
boolean |
isInherit() |
boolean |
isInsideFalloff(int x,
int y) |
boolean |
isNeverStopRendering() |
boolean |
isOverlay() |
boolean |
isPost() |
void |
setActive(boolean newActive) |
void |
setCustomFlag(boolean customFlag) |
boolean |
start(String alternate,
String customKey) |
void |
update() |
public Effect(Nifty niftyParam, boolean inheritParam, boolean postParam, boolean overlayParam, String alternateEnableParam, String alternateDisableParam, String customKeyParam, boolean neverStopRenderingParam, EffectEventId effectEventIdParam)
public void enableHover(Falloff falloffParameter)
public void enableInfinite()
public void init(Element elementParam, EffectImpl effectImplParam, EffectProperties parameterParam, TimeProvider timeParam, LinkedList<Object> controllers)
public void update()
public void execute(NiftyRenderEngine r)
public boolean isActive()
public void setActive(boolean newActive)
public boolean isPost()
public boolean isAlternateDisable()
public boolean customKeyMatches(String customKeyToCheck)
public String getStateString()
public <T extends EffectImpl> T getEffectImpl(Class<T> requestedClass)
public boolean isInherit()
public boolean isHoverEffect()
public void hoverDistance(int x, int y)
public boolean isInsideFalloff(int x, int y)
public boolean isOverlay()
public boolean isNeverStopRendering()
public EffectProperties getParameters()
public String getAlternate()
public String getCustomKey()
public boolean getCustomFlag()
public void setCustomFlag(boolean customFlag)
Copyright © 2013. All Rights Reserved.