FB::DOM Namespace Reference
These are convenience objects used to access and manipulate DOM objects. They should never be created directly; instead, get the Window object or the Document object from the BrowserHost or create it with DOM::Element::create(obj) (or similar). More...
Classes | |
| class | Document |
| Abstraction for accessing and manipulating a DOM Document. More... | |
| class | Element |
| DOM Element wrapper. More... | |
| class | Node |
| DOM Node wrapper. More... | |
| class | Window |
| DOM Window abstraction for manipulating and accessing the javascript window object that the plugin is contained in. More... | |
Typedefs | |
| typedef boost::shared_ptr < Document > | DocumentPtr |
| shared_ptr for a FB::DOM::Document | |
| typedef boost::shared_ptr < Element > | ElementPtr |
| shared_ptr for a FB::DOM::Element | |
| typedef boost::shared_ptr< Node > | NodePtr |
| shared_ptr for a FB::DOM::Node | |
| typedef boost::shared_ptr< Window > | WindowPtr |
| shared_ptr for a FB::DOM::Window | |
Detailed Description
These are convenience objects used to access and manipulate DOM objects. They should never be created directly; instead, get the Window object or the Document object from the BrowserHost or create it with DOM::Element::create(obj) (or similar).
FB::DOM contains the following classes:
You should never instantate these classes directly. Instead, use:
- FB::BrowserHost::getDOMWindow() to get the current document window
- FB::BrowserHost::getDOMDocument() to get the current document
- FB::DOM::Node::create(obj) to create a wrapper for a JS DOM Node object
- FB::DOM::Element::create(obj) to create a wrapper for a JS DOM Element object
- FB::DOM::Document::create(obj) to create a wrapper for a JS DOM Document
- FB::DOM::Window::create(obj) to create a wrapper for a JS DOM Window
Never use a raw pointer to one of these classes. Instead, use the following shared_ptr typedefs:
Generated on 25 May 2013 for FireBreath by
1.6.1
