Class Swift_Events_EventObject

InheritanceSwift_Events_EventObject
ImplementsSwift_Events_Event
SubclassesSwift_Events_CommandEvent, Swift_Events_ResponseEvent, Swift_Events_SendEvent, Swift_Events_TransportChangeEvent, Swift_Events_TransportExceptionEvent

A base Event which all Event classes inherit from.

Public Methods

Hide inherited methods

MethodDescriptionDefined 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

__construct() public method

Create a new EventObject originating at $source.

public void __construct ( $source )
$source object
bubbleCancelled() public method

Returns true if this Event will not bubble any further up the stack.

public bool bubbleCancelled ( )
cancelBubble() public method

Prevent this Event from bubbling any further up the stack.

public void cancelBubble ( $cancel true )
$cancel
getSource() public method

Get the source object of this event.

public object getSource ( )