The Event class represents an event.
Connects an event to a function specified by func or by object and func. For example, for a size event, this.size.connect(onFormResized) will connect the size event to the onFormResized function, such that onFormResized will be invoked when the size event occurs. Similarly, this.size.connect(this, onFormResized) will connect the size event to the onFormResized function using the this pointer specified in the object parameter
True if the event handler was successfully found and removed, false otherwise
Calling this method disconnects the specified event handler from the event object. When the event is subsequently fired, the specified handler will no longer be invoked. If the handler was found and removed by the disconnect() method, true is returned. If the handler was not found, false is returned.
Disconnects all event handlers from the event. When the event is subsequently fired, any previous event handlers will no longer be triggered
Fires an event. The parameters passed to this method will be passed on to the event sink(s).
An integer value indicating the number of event handlers
This method returns the number of event handlers (sinks) attached to the event. This normally corresponds to the number of times the connect() method was called
True if the event is handled, false otherwise
This method allows the caller to determine if the event is handled. If the event is handled by one or more handlers, the function will return true.