|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--kinetic.TimeFilter
|
+--kinetic.Loop
time filter used to easily produce repetion
| Field Summary | |
kinetic.KineticProperty |
period
property to maintain the period of the loop - ms |
| Fields inherited from class kinetic.TimeFilter |
duration, isDone, properties |
| Constructor Summary | |
Loop(double period_val)
create a new isntance of Loop with a given looping period -ms, lasts forever |
|
Loop(double period_val,
double dur)
create new instance of Loop with a given period and life span |
|
| Method Summary | |
double |
apply(double time)
executes the timefilter on the passed 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 |
| Field Detail |
public kinetic.KineticProperty period
| Constructor Detail |
public Loop(double period_val)
period_val - looping period -ms
public Loop(double period_val,
double dur)
period_val - looping period - msdur - lifespan of the loop - ms| Method Detail |
public double apply(double time)
apply in class TimeFiltertime - input value of time
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||