Search completed in 1.22 seconds.
7 results for "addBinding":
nsIXULTemplateQueryProcessor
MozillaTechXPCOMReferenceInterfacensIXULTemplateQueryProcessor
the initializeforbuilding(), compilequery() and addbinding() methods may not be called after generateresults() has been called until the builder indicates that the generated output is being removed by calling the done() method.
...method overview void addbinding(in nsidomnode arulenode, in nsiatom avar, in nsiatom aref, in astring aexpr); print32 compareresults(in nsixultemplateresult aleft, in nsixultemplateresult aright, in nsiatom avar, in unsigned long asorthints); nsisupports compilequery(in nsixultemplatebuilder abuilder, in nsidomnode aquery, in nsiatom arefvariable, in nsiatom amembervariable); void done(); nsisimpleenumerator generateresults(in nsisupports adatasource, in nsixultemplateresult aref, in nsisupports aquery); nsisupports getdatasource(in nsiarray adatasources, in nsidomnode arootnode, in boolean aistrusted...
..., in nsixultemplatebuilder abuilder, out boolean ashoulddelaybuilding); void initializeforbuilding(in nsisupports adatasource, in nsixultemplatebuilder abuilder, in nsidomnode arootnode); nsixultemplateresult translateref(in nsisupports adatasource, in astring arefstring); methods addbinding() add a variable binding for a particular rule.
...void addbinding( in nsidomnode arulenode, in nsiatom avar, in nsiatom aref, in astring aexpr ); parameters arulenode rule to add the binding to.
Same origin policy for XBL - Archive of obsolete content
ArchiveMozillaSame origin policy for XBL
for the nsidomdocumentxbl interface's nsidomdocumentxbl.addbinding() and nsidomdocumentxbl.loadbindingdocument() methods, the originating principal is the one of the script making the call, or the principal of the document the call is made on if there isn't a script.
Binding Attachment and Detachment - Archive of obsolete content
ArchiveMozillaXBLXBL 1.0 ReferenceBinding Attachment and Detachment
note: some older papers mentioned dom methods document.addbinding and document.removebinding; these were subsequently discarded as redundant and not implemented.
Binding Implementations - Archive of obsolete content
ArchiveMozillaXBLXBL 1.0 ReferenceBinding Implementations
this situation can occur when bindings implicitly inherit, e.g., through the use of addbinding.
How to implement a custom XUL query processor component - Archive of obsolete content
ArchiveMozillaXULHow to implement a custom XUL query processor component
// eventually we should read the <query> to create filters return this._data; }, generateresults: function(adatasource, aref, aquery) { // preform any query and pass the data to the result set return new templateresultset(this._data); }, addbinding: function(arulenode, avar, aref, aexpr) { // add a variable binding for a particular rule, which we aren't using yet }, translateref: function(adatasource, arefstring) { // if we return null, everything stops return new templateresult(null); }, compareresults: function(aleft, aright, avar) { // -1 less, 0 ==, +1 greater var leftvalue = aleft.getbindingfor(avar); ...
nsIContentPolicy - Archive of obsolete content
ArchiveMozillansIContentPolicy
type_xbl 9 indicates an xbl binding request, triggered either by -moz-binding css property or the document.addbinding() method.
nsIXULTemplateBuilder
MozillaTechXPCOMReferenceInterfacensIXULTemplateBuilder
each of these declared bindings must be supplied to the query processor via its addbinding() method.