|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ControllerStateModel
ControllerState model. Helper/util methods.
Method Summary | |
---|---|
ControllerState |
getNextState(ControllerState state)
Get next state from state param or null if state param is the last. |
ControllerState |
getPreviousState(ControllerState state)
Get previous state from state param or null if state param is the first. |
boolean |
isAfterState(ControllerState state,
ControllerState reference)
Is state param after reference state param. |
boolean |
isBeforeState(ControllerState state,
ControllerState reference)
Is state param before reference state param. |
ListIterator<ControllerState> |
listIteraror()
Get the list iterator. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
ListIterator<ControllerState> listIteraror()
ControllerState getPreviousState(ControllerState state)
state
- the current state
ControllerState getNextState(ControllerState state)
state
- the current state
boolean isBeforeState(ControllerState state, ControllerState reference)
state
- the state we are checkingreference
- the state we are checking against
boolean isAfterState(ControllerState state, ControllerState reference)
state
- the state we are checkingreference
- the state we are checking against
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |