The AccessibleHypertext class is the base class for all classes that present hypertext information on the display. This class provides the standard mechanism for an assistive technology to access that text via its content, attributes, and spatial location. It also provides standard mechanisms for manipulating hyperlinks. Applications can determine if an object supports the AccessibleHypertext interface by first obtaining its AccessibleContext (see Accessible) and then calling the AccessibleContext.getAccessibleText() method of AccessibleContext. If the return value is a class which extends AccessibleHypertext, then that object supports AccessibleHypertext.
The AccessibleHypertext class is the base class for all classes that present hypertext information on the display. This class provides the standard mechanism for an assistive technology to access that text via its content, attributes, and spatial location. It also provides standard mechanisms for manipulating hyperlinks. Applications can determine if an object supports the AccessibleHypertext interface by first obtaining its AccessibleContext (see Accessible) and then calling the AccessibleContext.getAccessibleText() method of AccessibleContext. If the return value is a class which extends AccessibleHypertext, then that object supports AccessibleHypertext.
(get-link this link-index)
Returns the nth Link of this Hypertext document.
link-index - within the links of this Hypertext - int
returns: Link object encapsulating the nth link(s) - javax.accessibility.AccessibleHyperlink
Returns the nth Link of this Hypertext document. link-index - within the links of this Hypertext - `int` returns: Link object encapsulating the nth link(s) - `javax.accessibility.AccessibleHyperlink`
(get-link-count this)
Returns the number of links within this hypertext document.
returns: number of links in this hypertext doc. - int
Returns the number of links within this hypertext document. returns: number of links in this hypertext doc. - `int`
(get-link-index this char-index)
Returns the index into an array of hyperlinks that is associated with this character index, or -1 if there is no hyperlink associated with this index.
char-index - index within the text - int
returns: index into the set of hyperlinks for this hypertext doc. - int
Returns the index into an array of hyperlinks that is associated with this character index, or -1 if there is no hyperlink associated with this index. char-index - index within the text - `int` returns: index into the set of hyperlinks for this hypertext doc. - `int`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close