Packagenet.guttershark.support.eventmanager
Classpublic class EventListenerDelegate
SubclassesBaseButtonEventListenerDelegate, ButtonEventListenerDelegate, CheckboxEventListenerDelegate, ColorPickerEventListenerDelegate, ComboBoxEventListenerDelegate, DataGridEventListenerDelegate, FLVPlaybackEventListenerDelegate, LabelButtonEventListenerDelegate, SelectableListEventListenerDelegate, UIComponentEventListenerDelegate

The EventListenerDelegate class is the base class for all event listener delegate classes. This implements the base functionality needed - besides actually adding any events to the objects.



Public Properties
 PropertyDefined by
  callbackDelegate : *
The calbackDelegate.
EventListenerDelegate
  callbackPrefix : String
The callback prefix on the target callbackDelegate;
EventListenerDelegate
  cycleAllThroughTracking : Boolean
Cycle all events through tracking framework.
EventListenerDelegate
  eventHandlerFunction : Function
[write-only] Set's the event handler function which events get passed back to in the EventManager.
EventListenerDelegate
Protected Properties
 PropertyDefined by
  handleEvent : Function
A function reference on EventManager.
EventListenerDelegate
  obj : *
A reference to the obj that listeners were added too.
EventListenerDelegate
Public Methods
 MethodDefined by
  
addListeners(obj:*):void
Add listeners to the target object.
EventListenerDelegate
  
dispose():void
Dispose of this event listener delegate.
EventListenerDelegate
Protected Methods
 MethodDefined by
  
Remove event listeners from the object that is being listened to.
EventListenerDelegate
Property detail
callbackDelegateproperty
public var callbackDelegate:*

The calbackDelegate.

callbackPrefixproperty 
public var callbackPrefix:String

The callback prefix on the target callbackDelegate;

cycleAllThroughTrackingproperty 
public var cycleAllThroughTracking:Boolean

Cycle all events through tracking framework.

eventHandlerFunctionproperty 
eventHandlerFunction:Function  [write-only]

Set's the event handler function which events get passed back to in the EventManager.

Implementation
    public function set eventHandlerFunction(value:Function):void
handleEventproperty 
protected var handleEvent:Function

A function reference on EventManager. It references the handleEvent function in EventManager.

objproperty 
protected var obj:*

A reference to the obj that listeners were added too.

Method detail
addListeners()method
public function addListeners(obj:*):void

Add listeners to the target object.

Parameters
obj:*
dispose()method 
public function dispose():void

Dispose of this event listener delegate.

removeEventListeners()method 
protected function removeEventListeners():void

Remove event listeners from the object that is being listened to.