|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sky.monome.sequence.UpwardAndBackwardSequenceIterator<S,B>
S
- Type of sequencers that use these sequence iterators.B
- Type of button managers used by the sequencers that use these sequence iterators.public class UpwardAndBackwardSequenceIterator<S extends Sequencer<S,B>,B extends ButtonManager<B>>
Iterator over a sequencer's sequence which progresses alternatively upwardly and backwardly in the sequence (ping-pong effect).
Field Summary | |
---|---|
protected boolean |
upward
Indicates whether the iterator is currently progressing upwardly or backwardly. |
Constructor Summary | |
---|---|
UpwardAndBackwardSequenceIterator()
Constructs an upward and backward sequence iterator. |
Method Summary | |
---|---|
int |
getNextStep(S sequencer)
Returns the next step number for the specified sequencer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean upward
Constructor Detail |
---|
public UpwardAndBackwardSequenceIterator()
Method Detail |
---|
public int getNextStep(S sequencer)
getNextStep
in interface SequenceIterator<S extends Sequencer<S,B>,B extends ButtonManager<B>>
sequencer
- Sequencer which demands the next step.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |