public abstract class AccessibleHyperlink extends Object implements AccessibleAction
CLICK, DECREMENT, INCREMENT, TOGGLE_EXPAND, TOGGLE_POPUP| Constructor and Description | 
|---|
| AccessibleHyperlink() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract boolean | doAccessibleAction(int i)Performs the specified Action on the object | 
| abstract Object | getAccessibleActionAnchor(int i)Returns an object that represents the link anchor,
 as appropriate for that link. | 
| abstract int | getAccessibleActionCount()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. | 
| abstract String | getAccessibleActionDescription(int i)Returns a String description of this particular
 link action. | 
| abstract Object | getAccessibleActionObject(int i)Returns an object that represents the link action,
 as appropriate for that link. | 
| abstract int | getEndIndex()Gets the index with the hypertext document at which this
 link ends | 
| abstract int | getStartIndex()Gets the index with the hypertext document at which this
 link begins | 
| abstract boolean | isValid()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). | 
public abstract boolean isValid()
public abstract int getAccessibleActionCount()
getAccessibleActionCount in interface AccessibleActionpublic abstract boolean doAccessibleAction(int i)
doAccessibleAction in interface AccessibleActioni - zero-based index of actionsgetAccessibleActionCount()public abstract String getAccessibleActionDescription(int i)
getAccessibleActionDescription in interface AccessibleActioni - zero-based index of the actionsgetAccessibleActionCount()public abstract Object getAccessibleActionObject(int i)
i - zero-based index of the actionsgetAccessibleActionCount()public abstract Object getAccessibleActionAnchor(int i)
i - zero-based index of the actionsgetAccessibleActionCount()public abstract int getStartIndex()
public abstract int getEndIndex()
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.