Class Swift_Events_EventObject
A base Event which all Event classes inherit from.
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Create a new EventObject originating at $source. | Swift_Events_EventObject |
bubbleCancelled() | Returns true if this Event will not bubble any further up the stack. | Swift_Events_EventObject |
cancelBubble() | Prevent this Event from bubbling any further up the stack. | Swift_Events_EventObject |
getSource() | Get the source object of this event. | Swift_Events_EventObject |
Method Details
Create a new EventObject originating at $source.
public void __construct ( $source ) | ||
$source | object |
Returns true if this Event will not bubble any further up the stack.
public bool bubbleCancelled ( ) |
Prevent this Event from bubbling any further up the stack.
public void cancelBubble ( $cancel = true ) | ||
$cancel |
Get the source object of this event.
public object getSource ( ) |