Statechart Diagram State Transition
A state transition takes place, if
- the event occurs
- and the guard is true
Default Assumptions
- the lack of an event corresponds to the event “activity is finished” (completion transition)
- the lack of a condition corresponds to [true]
Actions on state transitions are possible
- Special action: Sending a message to another objectsend receiver.message()
- Example:right-mouse-down (loc) [ loc in window ] / obj:= pick-obj (loc); send obj.highlight()