Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIXULTemplateBuilder Interface Reference

import "nsIXULTemplateBuilder.idl";

Inheritance diagram for nsIXULTemplateBuilder:
Inheritance graph
[legend]
Collaboration diagram for nsIXULTemplateBuilder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void rebuild ()
 Force the template builder to rebuild its content.
void refresh ()
 Reload any of our RDF datasources that support nsIRDFRemoteDatasource.
void init (in nsIContent_ptr aElement)
 Called to initialize a XUL content builder on a particular root element.
void createContents (in nsIContent_ptr aElement)
 Invoked lazily by a XUL element that needs its child content built.
void addListener (in nsIXULBuilderListener aListener)
 Add a listener to this template builder.
void removeListener (in nsIXULBuilderListener aListener)
 Remove a listener from this template builder.

Public Attributes

readonly attribute nsIDOMElement root
 The ``root'' node in the DOM to which this builder is attached.
readonly attribute
nsIRDFCompositeDataSource 
database
 The composite datasource that the template builder observes and uses to create content.

Detailed Description

Definition at line 52 of file nsIXULTemplateBuilder.idl.


Member Function Documentation

Add a listener to this template builder.

The template builder holds a strong reference to the listener.

Invoked lazily by a XUL element that needs its child content built.

Called to initialize a XUL content builder on a particular root element.

This element presumably has a ``datasources'' attribute, which the builder will parse to set up the template builder's datasources.

Force the template builder to rebuild its content.

Reload any of our RDF datasources that support nsIRDFRemoteDatasource.

Note:
This is a temporary hack so that remote-XUL authors can reload remote datasources. When RDF becomes remote-scriptable, this will no longer be necessary.

Remove a listener from this template builder.


Member Data Documentation

The composite datasource that the template builder observes and uses to create content.

Definition at line 63 of file nsIXULTemplateBuilder.idl.

The ``root'' node in the DOM to which this builder is attached.

Definition at line 57 of file nsIXULTemplateBuilder.idl.


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