- Enclosing interface:
- State
public static interface State.Group
A
State.Group
deactivates all other states when a state in the group is activated.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a state to thisState.Group
.void
add
(Collection<State> states) Adds the given states to thisState.Group
.
-
Method Details
-
add
Adds a state to thisState.Group
. Adding an active state deactivates all other states in the group.- Parameters:
state
- theState
instance to add
-
add
Adds the given states to thisState.Group
.- Parameters:
states
- theState
instances to add
-