StateEvent Class
A state-related event used by the State Manager
Constructor
StateEvent
(
-
type
-
currentState
-
visibleState
)
Parameters:
-
type
String
-
currentState
BaseState
The currentState of the state manager
-
visibleState
BaseState
The current state being transitioned or changing visibility, default to currentState
Methods
initialize
(
-
type
-
currentState
-
visibleState
)
Parameters:
-
type
String
-
currentState
BaseState
The currentState of the state manager
-
visibleState
BaseState
The current state being transitioned or changing visibility
Properties
currentState
BaseState
A reference to the current state of the state manager
visibleState
BaseState
A reference to the state who's actually being transitioned or being changed
Events
onHidden
String
When the state becomes hidden
onTransitionStateIn
The name of the event for when the state starts transitioning in
onTransitionStateInDone
String
The name of the event for when the state finishes transition in
onTransitionStateOut
String
The name of the event for when the state starts transitioning out
onTransitionStateOutDone
String
The name of the event for when the state is done transitioning out
onVisible
String
When the state besome visible