Class: StatusEvent

bcdui.core. StatusEvent

Represents a status event thrown to status listeners of DataProviders, see bcdui.core.AbstractExecutable#removeStatusListener and bcdui.core.StatusListener

new bcdui.core.StatusEvent(args)

The constructor creating a new StatusEvent object.
Name Type Description
args Object This parameter map must contain two properties:
Name Type Description
source Object The object the status transition happened
newStatus bcdui.core.Status The new status of the source object

Methods

getSource(){object}

Getter for the object that made the status transition.
Returns:
Type Description
object The causer of the event.

getStatus(){Status}

Returns:
Type Description
Status The new status of the source object.

toString(){String}

Returns:
Type Description
String A summary of the status event.