javax.swing
public class JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink extends AccessibleHyperlink
Constructor Summary | |
---|---|
HTMLLink(Element el)
Creates a new HTMLLink .
|
Method Summary | |
---|---|
boolean | doAccessibleAction(int i)
Performs the specified action on the link object. |
Object | getAccessibleActionAnchor(int i)
Returns an object that represents the link anchor. |
int | getAccessibleActionCount()
Returns the number of AccessibleActions in this link object. |
String | getAccessibleActionDescription(int i)
Returns the description of the action at action index i .
|
Object | getAccessibleActionObject(int i)
Returns an {@link URL} object, that represents the action at action
index i .
|
int | getEndIndex()
Returns the end index of the hyperlink element.
|
int | getStartIndex()
Returns the start index of the hyperlink element.
|
boolean | isValid()
Returns true if this HTMLLink is still
valid. |
HTMLLink
.
Parameters: el the link element
Returns: true
if the action has been performed
successfully, false
otherwise
String
object is
returned, if the link encloses an <img> tag, then an
ImageIcon
object is returned.
Returns: an object that represents the link anchor
Returns: the number of AccessibleActions in this link object
i
.
This method returns the text within the element associated with this
link.
Parameters: i the action index
Returns: the description of the action at action index i
i
.
Parameters: i the action index
Returns: an {@link URL} object, that represents the action at action
index i
Returns: the end index of the hyperlink element
Returns: the start index of the hyperlink element
true
if this HTMLLink
is still
valid. A HTMLLink
can become invalid when the document
changes.
Returns: true
if this HTMLLink
is still
valid