GODPAPER | All Packages | All Classes | Index | Frames No Frames |
GenericEvent

Package | org.osflash.signals.events
Class | public class GenericEvent
Inheritance | GenericEvent Object
Implements | IEvent

See also

Documentation for the event interface being maintained in IEvent to avoid duplication for now.

Public Properties

| Property | Defined By
--- | --- | ---
|  | bubbles : Boolean Indicates whether the event is a bubbling event. | GenericEvent
|  | currentTarget : Object The object that added the listener for the event. | GenericEvent
|  | signal : IPrioritySignal The signal that dispatched the event. | GenericEvent
|  | target : Object The object that originally dispatched the event. | GenericEvent

Protected Properties

| Property | Defined By
--- | --- | ---
|  | _bubbles : Boolean | GenericEvent
|  | _currentTarget : Object | GenericEvent
|  | _signal : IPrioritySignal | GenericEvent
|  | _target : Object | GenericEvent

Public Methods

| Method | Defined By
--- | --- | ---
|  | GenericEvent(bubbles:Boolean = false) | GenericEvent
|  | clone():IEvent Returns a new copy of the instance. | GenericEvent

Property Detail

_bubbles | property

`protected var _bubbles:Boolean`

_currentTarget | property |

`protected var _currentTarget:Object`

_signal | property |

`protected var _signal:IPrioritySignal`

_target | property |

`protected var _target:Object`

bubbles | property |

`bubbles:Boolean`

Indicates whether the event is a bubbling event.

Implementation
`public function get bubbles():Boolean`
`public function set bubbles(value:Boolean):void`

currentTarget | property |

`currentTarget:Object`

The object that added the listener for the event.

Implementation
`public function get currentTarget():Object`
`public function set currentTarget(value:Object):void`

signal | property |

`signal:IPrioritySignal`

The signal that dispatched the event.

Implementation
`public function get signal():IPrioritySignal`
`public function set signal(value:IPrioritySignal):void`

target | property |

`target:Object`

The object that originally dispatched the event. When dispatched from an signal, the target is the object containing the signal.

Implementation
`public function get target():Object`
`public function set target(value:Object):void`
Constructor Detail

GenericEvent | () | Constructor

`public function GenericEvent(bubbles:Boolean = false)`

Parameters

| `bubbles:Boolean` (default = `false`)``

Method Detail

clone | () | method

`public function clone():IEvent`

Returns a new copy of the instance.

Returns

| `IEvent`

Thu Jan 16 2014, 01:11 PM +08:00