Behavior : Menu FSM

Author:Rex.Rainbow

Download

Properties

Initial state

  • Set initial state.
    • Options : ["Off","Opened","Closed"]

Has transition state

  • Set yes to have OPENING and CLOSING state.
    • Options : ["No","Yes"]

Actions

Open/Close

Action:Open

  • Open menu.

Action:Close

  • Close menu.

Transition

Action:Wait transition event

  • Wait transition event.

Action:Finish transition event

  • Finish transition event.

Action:Force finish transition event

  • Force finish transition event.

Expressions

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