Liking cljdoc? Tell your friends :D

javax.accessibility.AccessibleHyperlink

Encapsulation of a link, or set of links (e.g. client side imagemap) in a Hypertext document

Encapsulation of a link, or set of links (e.g. client side imagemap)
in a Hypertext document
raw docstring

(->accessible-hyperlink)

Constructor.

Constructor.
raw docstring

do-accessible-actionclj

(do-accessible-action this i)

Performs the specified Action on the object

i - zero-based index of actions - int

returns: true if the action was performed; otherwise false. - boolean

Performs the specified Action on the object

i - zero-based index of actions - `int`

returns: true if the action was performed; otherwise false. - `boolean`
raw docstring

get-accessible-action-anchorclj

(get-accessible-action-anchor this i)

Returns an object that represents the link anchor, as appropriate for that link. E.g. from HTML: <a href="http://www.sun.com/access">Accessibility</a> this method would return a String containing the text: "Accessibility".

Similarly, from this HTML: <a HREF="#top"><img src="top-hat.gif" alt="top hat"></a> this might return the object ImageIcon("top-hat.gif", "top hat");

i - zero-based index of the actions - int

returns: an Object representing the hypertext anchor - java.lang.Object

Returns an object that represents the link anchor,
 as appropriate for that link.  E.g. from HTML:
   <a href="http://www.sun.com/access">Accessibility</a>
 this method would return a String containing the text:
 "Accessibility".

 Similarly, from this HTML:
   <a HREF="#top"><img src="top-hat.gif" alt="top hat"></a>
 this might return the object ImageIcon("top-hat.gif", "top hat");

i - zero-based index of the actions - `int`

returns: an Object representing the hypertext anchor - `java.lang.Object`
raw docstring

get-accessible-action-countclj

(get-accessible-action-count this)

Returns the number of accessible actions available in this Link If there are more than one, the first one is NOT considered the "default" action of this LINK object (e.g. in an HTML imagemap). In general, links will have only one AccessibleAction in them.

returns: the zero-based number of Actions in this object - int

Returns the number of accessible actions available in this Link
 If there are more than one, the first one is NOT considered the
 "default" action of this LINK object (e.g. in an HTML imagemap).
 In general, links will have only one AccessibleAction in them.

returns: the zero-based number of Actions in this object - `int`
raw docstring

get-accessible-action-descriptionclj

(get-accessible-action-description this i)

Returns a String description of this particular link action. This should be a text string associated with anchoring text, this should be the anchor text. E.g. from HTML: <a HREF="http://www.sun.com/access">Accessibility</a> this method would return "Accessibility".

Similarly, from this HTML: <a HREF="#top"><img src="top-hat.gif" alt="top hat"></a> this method would return "top hat"

i - zero-based index of the actions - int

returns: a String description of the action - java.lang.String

Returns a String description of this particular
 link action.  This should be a text string
 associated with anchoring text, this should be the
 anchor text.  E.g. from HTML:
   <a HREF="http://www.sun.com/access">Accessibility</a>
 this method would return "Accessibility".

 Similarly, from this HTML:
   <a HREF="#top"><img src="top-hat.gif" alt="top hat"></a>
 this method would return "top hat"

i - zero-based index of the actions - `int`

returns: a String description of the action - `java.lang.String`
raw docstring

get-accessible-action-objectclj

(get-accessible-action-object this i)

Returns an object that represents the link action, as appropriate for that link. E.g. from HTML: <a HREF="http://www.sun.com/access">Accessibility</a> this method would return a java.net.URL("http://www.sun.com/access.html");

i - zero-based index of the actions - int

returns: an Object representing the hypertext link itself - java.lang.Object

Returns an object that represents the link action,
 as appropriate for that link.  E.g. from HTML:
   <a HREF="http://www.sun.com/access">Accessibility</a>
 this method would return a
 java.net.URL("http://www.sun.com/access.html");

i - zero-based index of the actions - `int`

returns: an Object representing the hypertext link itself - `java.lang.Object`
raw docstring

get-end-indexclj

(get-end-index this)

Gets the index with the hypertext document at which this link ends

returns: index of end of link - int

Gets the index with the hypertext document at which this
 link ends

returns: index of end of link - `int`
raw docstring

get-start-indexclj

(get-start-index this)

Gets the index with the hypertext document at which this link begins

returns: index of start of link - int

Gets the index with the hypertext document at which this
 link begins

returns: index of start of link - `int`
raw docstring

valid?clj

(valid? this)

Since the document a link is associated with may have changed, this method returns whether or not this Link is still valid (with respect to the document it references).

returns: a flag indicating whether this link is still valid with respect to the AccessibleHypertext it belongs to - boolean

Since the document a link is associated with may have
 changed, this method returns whether or not this Link is still valid
 (with respect to the document it references).

returns: a flag indicating whether this link is still valid with
         respect to the AccessibleHypertext it belongs to - `boolean`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close