Constructor: THeadElement

OpenAjax.a11y.cache.THeadElement

new THeadElement(dom_element, table_info)

Creates a thead element object which contains information obout a thead element in a table

Parameters:
Name Type Description
dom_element DOMElement Reference to the dom element object associated with thead element
table_info TableInfo Information about the current table relationships in the DOM
Properties:
Name Type Description
dom_element DOMElement Reference to the dom element object associated with thead 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 thead 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 thead element
Source:
  • scripts/cache_tables.js, line 1572

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 1608

<static> getAttributes() → {Array}

Returns an array of attributes for the element, sorted in alphabetical order

Source:
  • scripts/cache_tables.js, line 1640
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 1677
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 1696
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 1718
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 1626
Returns:
Returns a array of node results
Type
Array

<static> getStyle() → {Array}

Returns an array of style items

Source:
  • scripts/cache_tables.js, line 1661
Returns:
Returns a array of style items
Type
Array

<static> toString() → {String}

Creates a text string representation of the thead element object

Source:
  • scripts/cache_tables.js, line 1734
Returns:
Returns a text string representation of the thead element object
Type
String