FB::DOM::Element Class Reference
#include <Element.h>
Inheritance diagram for FB::DOM::Element:

Collaboration diagram for FB::DOM::Element:

Public Member Functions | |
| ElementPtr | element () |
| Gets a FB::DOM::ElementPtr pointing to the current object. | |
| virtual std::string | getInnerHTML () const |
| Gets the inner html for the element. | |
| virtual void | setInnerHTML (const std::string &html) const |
| Sets an inner html for the element. | |
| virtual int | getWidth () const |
| Gets the width property of the element. | |
| virtual void | setWidth (const int width) const |
| Sets the width property of the element. | |
| virtual int | getScrollWidth () const |
| Gets the scroll width property (read-only) of the element. | |
| virtual int | getHeight () const |
| Gets the height property of the element. | |
| virtual void | setHeight (const int height) const |
| Sets the height property of the element. | |
| virtual int | getScrollHeight () const |
| Gets the scroll height property (read-only) of the element. | |
| virtual int | getChildNodeCount () const |
| Gets a child node count. | |
| virtual ElementPtr | getChildNode (const int idx) const |
| Gets a child node. | |
| virtual ElementPtr | getParentNode () const |
| Gets the parent node of the current Element. | |
| virtual ElementPtr | getElement (const std::string &name) const |
| Gets a child element of the specified name. | |
| virtual ElementPtr | getElement (const int idx) const |
| Gets a child element of the specified name. | |
| virtual ElementPtr | getElementById (const std::string &elem_id) const |
| Gets an element from the DOM with the specified id. | |
| virtual std::vector< ElementPtr > | getElementsByTagName (const std::string &tagName) const |
| Gets a list of all elements in the document with the specified tag name. | |
| virtual std::vector< ElementPtr > | getElementsByTagName (const std::wstring &tagName) const |
Static Public Member Functions | |
| static ElementPtr | create (const FB::JSObjectPtr &api) |
| Creates a FB::DOM::Element object from a JSObjectPtr representing a DOM object. This will probably throw an exception and definitely not work right if the DOM object represented is not a Element. | |
Detailed Description
This class should not be created directly; instead, use the Element::create method
Definition at line 35 of file ScriptingCore/DOM/Element.h.
The documentation for this class was generated from the following files:
Generated on 20 Jun 2013 for FireBreath by
1.6.1
Labels
Page: class FB DOM Element Members
Page: class FB DOM Element create
Page: class FB DOM Element getWidth
Page: class FB DOM Element getElementById
Page: class FB DOM Element getParentNode
Page: class FB DOM Element getHeight
Page: class FB DOM Element getElement (2)
Page: class FB DOM Element getElement
Page: class FB DOM Element setHeight
Page: class FB DOM Element setWidth
Page: class FB DOM Element getScrollWidth
Page: class FB DOM Element getElementsByTagName
Page: class FB DOM Element getInnerHTML
Page: class FB DOM Element getScrollHeight
Page: class FB DOM Element element
Page: class FB DOM Element getElementsByTagName (2)
Page: class FB DOM Element setInnerHTML
Page: class FB DOM Element getChildNode
Page: class FB DOM Element getChildNodeCount
