new TableRowElement(dom_element, table_info)
Creates a table row element object which contains information obout a tr element in a table
Parameters:
Name | Type | Description |
---|---|---|
dom_element |
DOMElement | Reference to the dom element object associated with tr element |
table_info |
TableInfo | Information about the current table relationships in the DOM |
- Source:
- scripts/cache_tables.js, line 1932
Properties:
Name | Type | Description |
---|---|---|
dom_element |
DOMElement | Reference to the dom element object associated with tr 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 tr element |
type |
Number | Constant indicating the type of table cache element object |
cache_id |
String | String that uniquely identifies the cache element in the DOMCache |
header_cell_count |
Number | Number of header cells in the row |
data_cell_count |
Number | Number of data cells in the row |
Methods
-
<static> addChild(table_element)
-
Adds a cache table element to the tree representation of the table in the table 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 1971
-
<static> getAttributes() → {Array}
-
Returns an array of attributes for the element, sorted in alphabetical order
- Source:
- scripts/cache_tables.js, line 2003
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 2033
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 2049
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 2070
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 1989
Returns:
Returns a array of node results- Type
- Array
-
<static> getStyle() → {Array}
-
Returns an array of style items
- Source:
- scripts/cache_tables.js, line 2017
Returns:
Returns a array of style items- Type
- Array
-
<static> toString() → {String}
-
Creates a text string representation of the tr element object
- Source:
- scripts/cache_tables.js, line 2086
Returns:
Returns a text string representation of the tr element object- Type
- String