jjdh.java.event
Class StateSwitcher<E>
java.lang.Object
jjdh.java.event.StateSwitcher<E>
public class StateSwitcher<E>
- extends Object
Method Summary |
void |
next()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stateManager
protected StateManager<E> stateManager
states
protected List<E> states
currentIndex
protected int currentIndex
StateSwitcher
public StateSwitcher(StateManager<E> stateManager,
List<E> states)
- Creates a StateSwitcher which will circular apply the to delivered states
on the given
StateManager
.
next
public void next()
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.