Creating Applications with Mozilla.pdf

(5149 KB) Pobierz
Creating Applications with Mozilla
Table of Contents
1. Mozilla Background
1.1. Visualizing Mozilla's Front End
1.1.1. XPFE Framework
1.1.2. Comparing XPFE and DHTML
1.1.3. Components of a Mozilla Application
1.3.1. Applications as Web Pages
2.1. Simple XUL Example
2.2.1. The XUL File Format
2.2.2. Conventions
2.2.3. The XUL Namespace
2.2.4. Basic XUL Layout
2.2.5. Using XUL Windows
2.3.1. Importing Resources from Mozilla
2.5.1. Architecture of a Chrome Package
2.5.2. Package Components
2.5.3. Directory Structure
2.5.4. Package Manifests
2.5.5. Separating the Files
2.5.6. Registering a Package
2.6.1. Windows launch
773033119.182.png 773033119.193.png 773033119.204.png 773033119.215.png 773033119.001.png 773033119.012.png 773033119.023.png 773033119.034.png 773033119.045.png 773033119.055.png 773033119.066.png 773033119.077.png 773033119.088.png 773033119.098.png 773033119.109.png 773033119.120.png 773033119.131.png 773033119.142.png 773033119.147.png 773033119.148.png 773033119.149.png 773033119.150.png 773033119.151.png 773033119.152.png 773033119.153.png 773033119.154.png 773033119.155.png 773033119.156.png 773033119.157.png 773033119.158.png 773033119.159.png 773033119.160.png 773033119.161.png 773033119.162.png 773033119.163.png 773033119.164.png 773033119.165.png 773033119.166.png 773033119.167.png 773033119.168.png
 
3.1. The XUL Document Object
3.1.1. XUL Parsing and the Document Object Model
3.2.1. Dialogs
3.2.2. Pages
3.2.3. Wizards
3.3.1. The Toolbox
3.3.2. Selection Lists
3.4.1. List Boxes
3.4.2. High Performance Trees
3.4.3. Grid
3.5.1. Text Input
3.5.2. Text Display
3.5.3. Images
3.6.1. Radio
3.6.2. Checkbox
3.6.3. Buttons
3.7.1. Broadcaster and Observers
3.7.2. Commands
3.8.1. Browser and IFrame
3.8.2. Editor
3.9.1. Box Attributes
3.9.2. Box-Like Containers
3.9.3. Additional Box Features
3.9.4. Stacks and Decks
3.10.1. Stretchiness
3.10.2. Style
3.10.3. Persistence
3.10.4. The debug Attribute
3.11. Overlays
3.11.1. How to Use Overlays
3.11.2. Content Positioning
3.12. The Extras
3.12.1. Tooltips
3.12.2. Progress Meter
3.12.3. Links
773033119.169.png 773033119.170.png 773033119.171.png 773033119.172.png 773033119.173.png 773033119.174.png 773033119.175.png 773033119.176.png 773033119.177.png 773033119.178.png 773033119.179.png 773033119.180.png 773033119.181.png 773033119.183.png 773033119.184.png 773033119.185.png 773033119.186.png 773033119.187.png 773033119.188.png 773033119.189.png 773033119.190.png 773033119.191.png 773033119.192.png 773033119.194.png 773033119.195.png 773033119.196.png 773033119.197.png 773033119.198.png 773033119.199.png 773033119.200.png 773033119.201.png 773033119.202.png 773033119.203.png 773033119.205.png 773033119.206.png 773033119.207.png 773033119.208.png 773033119.209.png 773033119.210.png 773033119.211.png 773033119.212.png 773033119.213.png 773033119.214.png 773033119.216.png 773033119.217.png 773033119.218.png
 
4.1. Interface Basics
4.1.1. Skins Versus Themes
4.1.2. Limitations of a Skin
4.1.3. Theme Abstraction (or Building Good Skins)
4.1.4. Cross-Platform Interface Considerations
4.2.1. Basic XUL + CSS Interaction
4.2.2. Stylesheet Syntax
4.2.3. Special Mozilla Extensions
4.2.4. Referencing Images in CSS
4.2.5. Menu Skinning
4.3.1. CSS and Skin Hierarchies
4.3.2. Basic Skin Structure
4.3.3. The Modern and Classic Themes
4.3.4. Skin Files
4.4.1. Importing the Global Skin
4.4.2. Getting Started with Custom Styles
4.4.3. Creating Styles for the xFly Buttons
4.4.4. Describing the Skin in RDF
4.5.1. Binding New Widgets to the Interface Using XBL
4.5.2. User Stylesheets
4.5.3. Theme Security Restrictions
5.1. Faces of JavaScript in Mozilla
5.2.1. What Is the DOM?
5.2.2. The DOM Standards and Mozilla
5.2.3. DOM Methods and Properties
5.3.1. Handling Events from a XUL Element
5.3.2. Events and the Mozilla Event Model
5.3.3. Changing an Element's CSS Style Using JavaScript
5.3.4. Creating Elements Dynamically
5.3.5. Sharing Data Between Documents
5.4.1. What Is XPConnect?
5.5.1. JavaScript Libraries
6.1. Packaging and Installing Overview
6.2.1. Package Manifests
6.2.2. Registering Packages
6.2.3. Creating a Package
773033119.219.png 773033119.220.png 773033119.221.png 773033119.222.png 773033119.223.png 773033119.224.png 773033119.002.png 773033119.003.png 773033119.004.png 773033119.005.png 773033119.006.png 773033119.007.png 773033119.008.png 773033119.009.png 773033119.010.png 773033119.011.png 773033119.013.png 773033119.014.png 773033119.015.png 773033119.016.png 773033119.017.png 773033119.018.png 773033119.019.png 773033119.020.png 773033119.021.png 773033119.022.png 773033119.024.png 773033119.025.png 773033119.026.png 773033119.027.png 773033119.028.png 773033119.029.png 773033119.030.png 773033119.031.png 773033119.032.png 773033119.033.png 773033119.035.png 773033119.036.png 773033119.037.png 773033119.038.png 773033119.039.png 773033119.040.png 773033119.041.png 773033119.042.png 773033119.043.png 773033119.044.png
 
6.2.4. The Chrome Registry
6.3.1. The XPI File Format
6.3.2. Installation Scripts
6.3.3. XPInstall
6.3.4. Uninstalling Applications
6.4.1. Creating the xFly XPI
6.4.2. Adding the Installation Script
6.4.3. Web Page Installer
6.5.1. Icons
6.5.2. Splash Screen
7.1. What Is XBL?
7.1.1. XBL Terminology
7.1.2. An XBL Document
7.1.3. Namespaces and XBL
7.1.4. XBL and HTML
7.2.1. CSS Attachment
7.2.2. The XBL Content Element
7.2.3. The Implementation Element
7.2.4. Handlers
7.2.5. Style
7.3.1. Binding Methods
7.3.2. Binding Properties
7.4.1. The XBL DOM Interfaces
7.4.2. Binding Parents
7.4.3. Accessing Anonymous Nodes
7.4.4. Extra Binding Content and Insertion Points
7.5.1. Binding Inheritance
7.5.2. Attribute Inheritance
7.5.3. Implementation Inheritance
7.6.1. The Time and Venue
7.7.1. Stylesheets in XBL
8. XPCOM
8.1. What Is XPCOM?
8.1.1. What Is a Component?
8.1.2. XPConnect and the Component Object
8.1.3. XPCOM Interfaces and the IDL
8.1.4. XPCOM Type Libraries
773033119.046.png 773033119.047.png 773033119.048.png 773033119.049.png 773033119.050.png 773033119.051.png 773033119.052.png 773033119.053.png 773033119.054.png 773033119.056.png 773033119.057.png 773033119.058.png 773033119.059.png 773033119.060.png 773033119.061.png 773033119.062.png 773033119.063.png 773033119.064.png 773033119.065.png 773033119.067.png 773033119.068.png 773033119.069.png 773033119.070.png 773033119.071.png 773033119.072.png 773033119.073.png 773033119.074.png 773033119.075.png 773033119.076.png 773033119.078.png 773033119.079.png 773033119.080.png 773033119.081.png 773033119.082.png 773033119.083.png 773033119.084.png 773033119.085.png 773033119.086.png 773033119.087.png 773033119.089.png 773033119.090.png 773033119.091.png 773033119.092.png 773033119.093.png 773033119.094.png 773033119.095.png
 
8.1.5. XPCOM Identifiers
8.1.6. Component Manager
8.1.7. Getting and Using XPCOM
8.2.1. Creating a JavaScript XPCOM Component
8.2.2. Compiling the Component
8.2.3. Testing the Component
8.2.4. Useful C++ Macros and Types
8.2.5. C++ Implementation of nsISimple
8.2.6. The nsSimple module code
8.2.7. Other Languages for XPCOM
8.2.8. XPCOM as an Open Cross-Platform Solution
9.1. Understanding XUL Templates
9.1.1. Basic template structure
9.2.1. Nested Content Sample
9.2.2. Using Data for Style
9.2.3. Tree Template
9.2.4. Multiple Rules Tree
9.2.5. Multiple Rules Menubar
10.1. RDF Basics
10.1.1. RDF Data Model
10.1.2. RDF Syntax
10.1.3. Building an RDF File from Scratch
10.2.1. Datasources
10.3.1. What Is an RDF Component?
10.3.2. What Are RDF Interfaces?
10.3.3. nsIRDFService
10.3.4. nsIRDFCompositeDataSource
10.3.5. nsIRDFDataSource
10.3.6. nsIRDFRemoteDataSource
10.3.7. nsIRDFPurgeableDataSource
10.3.8. nsIRDFNode, nsIRDFResource, and nsIRDFLiteral
10.3.9. nsIRDFContainerUtils
10.3.10. nsIRDFContainer
10.3.11. nsIRDFXML Interfaces
10.4.1. Template Dynamics in XBL
10.6. Manifests
10.6.1. RDF and Dynamic Overlays
773033119.096.png 773033119.097.png 773033119.099.png 773033119.100.png 773033119.101.png 773033119.102.png 773033119.103.png 773033119.104.png 773033119.105.png 773033119.106.png 773033119.107.png 773033119.108.png 773033119.110.png 773033119.111.png 773033119.112.png 773033119.113.png 773033119.114.png 773033119.115.png 773033119.116.png 773033119.117.png 773033119.118.png 773033119.119.png 773033119.121.png 773033119.122.png 773033119.123.png 773033119.124.png 773033119.125.png 773033119.126.png 773033119.127.png 773033119.128.png 773033119.129.png 773033119.130.png 773033119.132.png 773033119.133.png 773033119.134.png 773033119.135.png 773033119.136.png 773033119.137.png 773033119.138.png 773033119.139.png 773033119.140.png 773033119.141.png 773033119.143.png 773033119.144.png 773033119.145.png 773033119.146.png
 
Zgłoś jeśli naruszono regulamin