EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificaciones Pagina 121

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 120
CHAPTER 4: User-Interface Tools Window object 121
removeEventListener()
windowObj.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 window. All arguments
must be identical to those that were used to register the event handler.
Returns
undefined.
show()
windowObj.show()
Shows this window, container, or control. If an onShow callback is defined for a window, calls that
function before showing the window.
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.
For a modal dialog, opens the dialog and does not return until the dialog is dismissed. If it is
dismissed via the close()
method, this method returns any result value passed to that method.
Otherwise, returns 0.
update()
windowObj.update()
Allows a script to run a long operation (such as copying a large file) and update UI elements to show
the status of the operation.
Normally, drawing updates to UI elements occur during idle periods, when the application is not
doing anything and the OS event queue is being processed, but during a long scripted operation,
the normal event loop is not running. Use this method to perform the necessary synchronous
drawing updates, and also process certain mouse and keyboard events in order to allow a user to
cancel the current operation (by clicking a Cancel button, for instance).
During the
update() operation, the application is put into a modal state, so that it does not handle
any events that would activate a different window, or give focus to a control outside the window
being updated. The modal state allows drawing events for controls in other windows to occur (as is
the case during a modal
show() operation), so that the script does not prevent the update of other
parts of the application's UI while in the operation loop.
It is an error to call the
update() method for a window that is not currently visible.
Vista de pagina 120
1 2 ... 116 117 118 119 120 121 122 123 124 125 126 ... 303 304

Comentarios a estos manuales

Sin comentarios