Visit Mozilla.org

nsIAccessibleHyperText

From MDC


Contents

nsIAccessibleHyperText is defined in accessible/public/atk/nsIAccessibleHyperText.idl. It is scriptable and unfrozen (hasn't changed since Mozilla 1.9).

Inherits from: nsISupports

[edit] Method overview

nsIAccessibleHyperLink getLink(in long linkIndex);
long getLinkIndex(in long charIndex);

[edit] Attributes

Attribute Type Description
linkCount long The number of links contained within this hypertext object. Read only.

[edit] Methods

[edit] getLink()

This method gets the link in this hypertext document at the specified index into the list.

 nsIAccessibleHyperLink getLink (
   in long linkIndex
 );
[edit] Parameters
linkIndex
Specifies the desired link.
[edit] Return value

Returns the nsIAccessibleHyperLink describing the link at the specified index within this hypertext document.

[edit] getLinkIndex()

Gets the index into the array of hyperlinks that is associated with the character specified by charIndex.

 long getLinkIndex (
   in long charIndex
 );
[edit] Parameters
charIndex
A character index.
[edit] Return value

Returns an index into the array of hyperlinks in hypertext.

[edit] See also