new TBodyElement(dom_element, table_info)
Creates a tbody element object which contains information obout a tbody element in a table
Parameters:
Name | Type | Description |
---|---|---|
dom_element |
DOMElement | Reference to the dom element object associated with tbody element |
table_info |
TableInfo | Information about the current table relationships in the DOM |
- Source:
- scripts/cache_tables.js, line 1756
Properties:
Name | Type | Description |
---|---|---|
dom_element |
DOMElement | Reference to the dom element object associated with tbody element |
cache_id |
String | String that uniquely identifies the cache element object in the cache |
child_cache_elements |
Array | Array of table cache elements for the tree representation of the table |
parent_table_element |
TableElement | Reference to the table element object that contatins the tbody element |
type |
Number | Constant indicating the type of table cache element object |
row_count |
Number | Number of table rows contained in the childresn of the tbody element |
Methods
-
<static> addChild(table_element)
-
Adds a cache table element to the tree representation of the table in the cache
Parameters:
Name Type Description table_element
TableElement | CaptionElement | THeadElement | TBodyElement | TableRowElement | TableCellElement Cache table element object to add to root of tree of table elements - Source:
- scripts/cache_tables.js, line 1790
-
<static> getAttributes() → {Array}
-
Returns an array of attributes for the element, sorted in alphabetical order
- Source:
- scripts/cache_tables.js, line 1822
Returns:
Returns a array of node results- Type
- Array
-
<static> getCacheProperties() → {Array}
-
Returns an array of cache properties sorted by property name
- Source:
- scripts/cache_tables.js, line 1853
Returns:
Returns a array of cache properties- Type
- Array
-
<static> getCachePropertyValue(property) → {String|Number}
-
Returns the value of a property
Parameters:
Name Type Description property
String The property to retreive the value - Source:
- scripts/cache_tables.js, line 1872
Returns:
Returns the value of the property- Type
- String | Number
-
<static> getEvents() → {Array}
-
Returns an array of events for the element, sorted in alphabetical order
- Source:
- scripts/cache_tables.js, line 1894
Returns:
Returns a array of event information- Type
- Array
-
<static> getNodeResults() → {Array}
-
Returns an array of node results in severity order
- Source:
- scripts/cache_tables.js, line 1808
Returns:
Returns a array of node results- Type
- Array
-
<static> getStyle() → {Array}
-
Returns an array of style items
- Source:
- scripts/cache_tables.js, line 1837
Returns:
Returns a array of style items- Type
- Array
-
<static> toString() → {String}
-
Creates a text string representation of the tbody element object
- Source:
- scripts/cache_tables.js, line 1910
Returns:
Returns a text string representation of the tbody element object- Type
- String