|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.nifty.tools.time.interpolator.NullTime
public class NullTime
Interpolator that always return 1.0f.
Constructor Summary | |
---|---|
NullTime()
|
Method Summary | |
---|---|
float |
getValue(long lengthParameter,
long timePassed)
get a new value. |
void |
initialize(Properties parameter)
initialize. |
void |
start()
In case the Interpolator wants to set some value when started. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullTime()
Method Detail |
---|
public void initialize(Properties parameter)
initialize
in interface Interpolator
parameter
- Properties used to parameterize this classpublic void start()
Interpolator
start
in interface Interpolator
public float getValue(long lengthParameter, long timePassed)
getValue
in interface Interpolator
lengthParameter
- max length of effect in mstimePassed
- time already passed in ms
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |