TAILIEUCHUNG - Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P1

Tham khảo tài liệu 'creating applications with mozilla-chapter 3. xul elements and features- p1', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 3. XUL Elements and Features- P1 The XML-based User-interface Language XUL includes all of the basic widgets you need to build application user interfaces. These interfaces include tabs text areas buttons and menus as well as handy interfaces you may not have thought you needed such as the stack widget or colorpicker . Chapter 2 introduced some of the XUL elements that make up a window and basic applications. This chapter examines XUL elements and features in more detail describing the rationale behind them their look and behavior and common usage. Though not comprehensive the chapter provides more than enough information about XUL to get you started on building your own Mozilla applications particularly when used in conjunction with the XUL reference in Appendix C. The elements described here such as menus buttons trees and boxes are needed in almost any type of application and most of the examples are generic so you can plug them into any application or customize them to your needs. We ve packed a lot of information in this chapter and it will be a useful reference as you begin to develop your applications. . The XUL Document Object At the core of a XUL file is the document object. As in HTML document is an object that represents the XUL document itself -- the content as opposed to the window that surrounds it. The document provides methods for getting individual elements manipulating the structure of the document or updating style rules. A document object provides methods such as getElementById getElementsByTagName createElement and createTextNode for DOM querying and manipulation of the actual document. Further details about the DOM are available in Chapter 5. Other types of document objects include the width and height of the window a popupNode property that accesses the elements currently displaying a pop up a XUL widget that attaches to another widget and appears above it holding some content a tooltipNode property that accesses the element .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.