EventListener
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
captures | bool | readonly | If true, the event supports the capturing phase of propagation. |
eventType | string | readonly | The name of the event. |
handler | File JavaScript Function |
readonly | The handler to invoke when the event occurs. Can return: File or JavaScript Function. |
index | number | readonly | The index of the EventListener within its containing object. |
parent | Application Document Menu MenuAction ScriptMenuAction Submenu |
readonly | The parent of the EventListener (a Document, Application, MenuAction, ScriptMenuAction, Menu or Submenu). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
Array
of EventListener getElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
Deletes the EventListener.
string toSource ()
Generates a string which, if executed, will return the EventListener.
Used in:
array of EventListener EventListeners.itemByRange (from: any, to: any)
EventListener EventListeners.nextItem (obj: EventListener)
EventListener EventListeners.previousItem (obj: EventListener)
Return
EventListener Application.addEventListener (eventType: string, handler: any[, captures: bool=false])
EventListener Document.addEventListener (eventType: string, handler: any[, captures: bool=false])
Array of EventListener EventListener.getElements ()
EventListener EventListeners.add (eventType: string, handler: any[, captures: bool=false][, withProperties: Object])
EventListener EventListeners.anyItem ()
Array of EventListener EventListeners.everyItem ()
EventListener EventListeners.firstItem ()
EventListener EventListeners.item (index: any)
EventListener EventListeners.itemByName (name: string)
Array of EventListener EventListeners.itemByRange (from: any, to: any)
EventListener EventListeners.lastItem ()
EventListener EventListeners.middleItem ()
EventListener EventListeners.nextItem (obj: EventListener)
EventListener EventListeners.previousItem (obj: EventListener)
EventListener Menu.addEventListener (eventType: string, handler: any[, captures: bool=false])
EventListener MenuAction.addEventListener (eventType: string, handler: any[, captures: bool=false])
EventListener ScriptMenuAction.addEventListener (eventType: string, handler: any[, captures: bool=false])
EventListener Submenu.addEventListener (eventType: string, handler: any[, captures: bool=false])
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |