... pages two and three, and seeing the pages advance as you click the buttons
that guide the wizard process when you load the XUL file into the browser.
3.3. Application Widgets
Like most applications, ...
toolbars and/ or menu bars. A Mozilla toolbar implements a
toolbargrippy and a box that contains children. The
toolbargrippy is a bar on the lefthand side used for...
... nsIEnumeration of the subject and
its properties
Chapter 10. RDF, RDF Tools, and the Content Model-P3
10. 3.1. What Is an RDF Component?
An RDF component may implement any number of the general RDF ... Example 10- 7
, is to use
nsIRDFService to retrieve or assert the root node of an RDF datasource.
Example 10- 7. Creating a root node
// get the n...
... </xul>
< /content& gt;
</binding>
</bindings>
Chapter 10. RDF, RDF Tools, and the Content Model-P4
When you create RDF statements with assertions or work with in-memory ... reference for the RDF in case of relative links.
nsIRDFXMLParser uses nsIRDFXMLSink for event handling. The interfaces
are totally separate, but behind the scen...
... one RDF: li the
modern theme.
The next section gives more information on the theme, such as the author,
the theme name, and a description. The chrome:packages structure that
completes the ... when this overlay is processed and its content included.
Chapter 10. RDF, RDF Tools, and the Content Model-P5
10. 1.3.2. Root resource
In Example 10- 1...
... image when the user clicks a button, you use the DOM to
register an event handler with the button and DOM attributes on the
image element to change its source.
The DOM Level 1 and Level 2 ... firstChild
. . .
The output in Example 5-2
is a small subset of all the DOM properties
associated with a XUL window and the other XUL elements, but you can
see all of them...
... raised the event. For example, if an
event handler in a menu element handles an event raised by one of the menu
items, then the menu should be able to identify the raising element and take
the ... attribute), then the event "bubbles," or travels further up into the
hierarchy of elements above the button. The event handlers in Example 5-3
use simple inline Ja...
... a value to the res property of the passed-
in object. The object is in the scope of the newly created window. When
control is passed back to the script that launched the window, the return
value ...
window.arguments is the most common way to pass objects and other
data around between documents.
When the user clicks a button in the displayed dialog (i.e., the OK...
...
Note the first two lines in the function and the way they work together to
create the fp filepicker object. The first line in the function assigns the
name of the nsFilepicker interface to the ... describes more about the XPConnect technology and how it
connects components to the interface. It also describes the components
themselves and their interfaces, t...
... sections,
providing the necessary metadata about the items in the middle, and then
listing the components that are affected by the items at the end. However,
the flexibility of the RDF format means ... specified location on the local disk and alerting the chrome
registry to the new files and their manifests. The chrome registry then finds
and reads those m...
... components the chrome files in the JARs, the executables, the
default user information, and the libraries. As you will see in the installation
script, the contents of the archive are installed onto the ... of the resources are
stored. On other platforms, the installation puts these resources in the
application directory itself.
In the case of the Mozilla bro...