Behavior : Menu FSM
Author:Rex.Rainbow
- FSM to control the behavior of menu.
Download
Properties
Initial state
- Set initial state.
- Options : ["Off","Opened","Closed"]
Has transition state
- Set yes to have OPENING and CLOSING state.
Actions
Open/Close
Action:Open
Action:Close
Transition
Action:Wait transition event
Action:Finish transition event
Action:Force finish transition event
- Force finish transition event.
Conditions
Event
Condition:On opening
- Triggered when menu opening
Condition:On opened
- Triggered when menu opened
Condition:On closing
- Triggered when menu closing
Condition:On closed
- Triggered when menu closed
If
Condition:Is opened
- Return true if menu is opened
Condition:Is closed
- Return true if menu is opened