WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

XUL

XUL interfaces, for handling special elements such as trees and popups as well as templates.

Jump to:


XUL Elements

These interfaces are used to implement the display of some XUL elements. The nsITree interfaces handle displaying XUL trees.

nsIBoxObject
nsIBrowserBoxObject
nsIContainerBoxObject
nsIEditorBoxObject
nsIIFrameBoxObject
nsIListBoxObject
nsIMenuBoxObject
nsINativeTreeView
nsIPopupBoxObject
nsIScrollBoxObject
nsITreeBoxObject
nsITreeColumn
nsITreeColumns
nsITreeContentView
nsITreeSelection
nsITreeView

Template Builder

These interfaces are used to build XUL content from templates. Trees are built with a nsIXULTreeBuilder and a nsIXULTemplateBuilder is used other types of content.

nsIXULBuilderListener
nsIXULSortService
nsIXULTemplateBuilder
nsIXULTemplateQueryProcessor
nsIXULTemplateResult
nsIXULTemplateRuleFilter
nsIXULTreeBuilder
nsIXULTreeBuilderObserver

@mozilla.org/xul/xul-sort-service;1
@mozilla.org/xul/xul-template-builder;1
@mozilla.org/xul/xul-tree-builder;1


Commands and Controllers

These interfaces handle commands and controllers.

nsICommandController
nsIController
nsIControllerCommand
nsIControllerCommandGroup
nsIControllerCommandTable
nsIControllerContext
nsIControllers

@mozilla.org/embedcomp/base-command-controller;1
@mozilla.org/embedcomp/controller-command-group;1
@mozilla.org/embedcomp/controller-command-manager;1
@mozilla.org/embedcomp/controller-command-table;1
@mozilla.org/xul/xul-controllers;1


XUL Box Object

In XUL, the base layout element is the box. The following components implement specialized types of boxes.

@mozilla.org/layout/xul-boxobject-browser;1
@mozilla.org/layout/xul-boxobject-editor;1
@mozilla.org/layout/xul-boxobject-iframe;1
@mozilla.org/layout/xul-boxobject-listbox;1
@mozilla.org/layout/xul-boxobject-menu;1
@mozilla.org/layout/xul-boxobject-popup;1
@mozilla.org/layout/xul-boxobject-scrollbox;1
@mozilla.org/layout/xul-boxobject-tree;1
@mozilla.org/layout/xul-boxobject;1

Additional XUL Components

Some additional XUL components are used. '@mozilla.org/xul/xul-content-sink;1' is used to parse XUL.

@mozilla.org/layout/xul-boxobject-container;1
@mozilla.org/xul/xul-content-sink;1
@mozilla.org/xul/xul-document;1
@mozilla.org/xul/xul-popup-listener;1
@mozilla.org/xul/xul-popup-manager;1
@mozilla.org/xul/xul-prototype-cache;1

Reference documentation is generated from Mozilla's source.