EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Spezifikationen Seite 143

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 304
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 142
CHAPTER 4: User-Interface Tools Control objects 143
dispatchEvent()
controlObj.dispatchEvent (eventObj)
eventObj
An object of the UIEvent base class.
Simulates the occurrence of an event in this target. A script can create an event object for a specific
event, using
ScriptUI.events.events.createEvent(), and pass it to this method to start the event
propagation for the event.
Returns false if any of the registered listeners that handled the event called the event object’s
preventDefault()
method, true otherwise.
find()
listObj.find(text)
text
The text of the item to find.
For list objects (ListBox
, DropDownList or TreeView) only. Looks in this objects items array for an
item object with the given text value.
Returns the
item object if found; otherwise, returns null.
hide()
controlObj.hide()
Hides this container or control. When a window or container is hidden, its children are also hidden,
but when it is shown again, the children retain their own visibility states.
Returns
undefined.
notify()
controlObj.notify([event])
event
Optional. The name of the control event handler to call. One of:
onClick
onChange
onChanging
By default, simulates the onChange event for an EditText control, an onClick event
for controls that support that event.
Sends a notification message, simulating the specified user interaction event.
Returns
undefined.
removeEventListener()
controlbj.removeEventListener (eventName, handler[, capturePhase]);
eventName
The event name string.
handler
The function that was registered to handle the event.
capturePhase
Optional. Whether the handler was to respond only in the capture phase.
Unregisters an event handler for a particular type of event occurring in this control. All arguments
must be identical to those that were used to register the event handler.
Returns
undefined.
Seitenansicht 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 303 304

Kommentare zu diesen Handbüchern

Keine Kommentare