|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kinetic.TimeFilter | +--kinetic.Reverse
time filter that reverses the flow of time over a given duration. For exmaple, if the duration is set to 10 seconds for the first 10 seconds, the time will count down from 10 to 0. After the lifspan is over it will resume at 10 seconds.
Field Summary |
Fields inherited from class kinetic.TimeFilter |
duration, isDone, properties |
Constructor Summary | |
Reverse(double dur)
creates new instance of reverse with a duration |
Method Summary | |
double |
apply(double time)
processed input value of time to produce an new output value of time |
Methods inherited from class kinetic.TimeFilter |
clear, getDuration, getPropertyList, isDone, PrepareVariables, reset, setDuration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Reverse(double dur)
dur
- window of time to count backwordsMethod Detail |
public double apply(double time)
apply
in class TimeFilter
time
- input value of time
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |