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 | FileJavaScript Function | readonly | The handler to invoke when the event occurs. Can return: File or JavaScript Function. |
id | number | readonly | The unique ID of the EventListener. |
index | number | readonly | The index of the EventListener within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
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.
string toSpecifier ()
Retrieves the object specifier.
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.[] (index: number)
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.itemByID (id: number)
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, 20-Jun-2010 v3.0.3d | Contents :: Index |