Message.newStateChanged

Create a state change message. This message is posted whenever an element changed its state.

Parameters

srcThe object originating the message.
oldstatethe previous state
newstatethe new (current) state
pendingthe pending (target) state

Returns

the new state change message.

MT safe.