sbIPlaylistCommandsBuilderInstantiationCallback Interface Reference

A callback interface used to instantiate a custom command DOM element for sbIPlaylistCommandsBuilder objects. More...

import"sbIPlaylistCommandsBuilder.idl";

Inheritance diagram for sbIPlaylistCommandsBuilderInstantiationCallback:
[legend]
Collaboration diagram for sbIPlaylistCommandsBuilderInstantiationCallback:
[legend]

Public Member Functions

nsIDOMNode handleCallback (in sbIPlaylistCommandsBuilderContext aContext, in AString aSubMenuId, in AString aCommandId, in AString aHost, in nsIDOMDocument aParentDocument)
 The callback function. More...
 

Detailed Description

A callback interface used to instantiate a custom command DOM element for sbIPlaylistCommandsBuilder objects.

This interface may be replaced by a javascript function in any of the sbIPlaylistCommandsBuilder functions that take it as a parameter.

See Also
sbIPlaylistCommandsBuilder, sbIPlaylistCommandsBuilderRefreshCallback

Definition at line 820 of file sbIPlaylistCommandsBuilder.idl.

Member Function Documentation

nsIDOMNode sbIPlaylistCommandsBuilderInstantiationCallback::handleCallback ( in sbIPlaylistCommandsBuilderContext  aContext,
in AString  aSubMenuId,
in AString  aCommandId,
in AString  aHost,
in nsIDOMDocument  aParentDocument 
)

The callback function.

Parameters
aContextThe instantiation context for this command
aSubMenuIdThe submenu id for this command
aCommandIdThe id for this command
aHostThe host type that instantiated this command
aParentDocumentThe parent document for the element to create
Returns
The DOM element to return

The documentation for this interface was generated from the following file: