|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StepIterator
An iterator for stepping thru an animation sequence.
DataView.getStepIterator(Layer)
Method Summary | |
---|---|
float |
current()
Returns the current step. |
float |
first()
Steps to beginning of the sequence. |
float |
getNextForTime(float time)
Sets the iterator to the nearest time that is after the time given as parameter. |
float |
getPreviousForTime(float time)
Sets the iterator to the nearest time that is before the time given as parameter. |
boolean |
hasNext()
Returns true if the iterator can step forward. |
boolean |
hasPrevious()
Returns true if the iterator can step back. |
float |
last()
Steps to end of the sequence. |
float |
next()
Steps forward. |
float |
previous()
Steps back. |
Method Detail |
---|
boolean hasNext()
boolean hasPrevious()
float next()
java.lang.IllegalStateException
- if at endfloat previous()
java.lang.IllegalStateException
- if at beginningfloat first()
float last()
float current()
float getNextForTime(float time)
float getPreviousForTime(float time)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |