|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.accessibility.AccessibleHyperlink
public abstract class AccessibleHyperlink
This object encapsulates actions associated with navigating hypertext.
Accessible,
AccessibleContext,
AccessibleText,
AccessibleContext.getAccessibleText()| Field Summary |
|---|
| Fields inherited from interface javax.accessibility.AccessibleAction |
|---|
CLICK, DECREMENT, INCREMENT, TOGGLE_EXPAND, TOGGLE_POPUP |
| Constructor Summary | |
|---|---|
AccessibleHyperlink()
The default constructor. |
|
| Method Summary | |
|---|---|
abstract boolean |
doAccessibleAction(int i)
Perform the specified action. |
abstract Object |
getAccessibleActionAnchor(int i)
Get the anchor appropriate for the link, or null if the index is out of bounds. |
abstract int |
getAccessibleActionCount()
Get the number possible actions for this object, starting from 0. |
abstract String |
getAccessibleActionDescription(int i)
Get the anchor text of the link, or null if the index is out of bounds. |
abstract Object |
getAccessibleActionObject(int i)
Get the link location, or null if the index is out of bounds. |
abstract int |
getEndIndex()
Gets the character index where this link ends in the parent hypertext document. |
abstract int |
getStartIndex()
Gets the character index where this link starts in the parent hypertext document. |
abstract boolean |
isValid()
Returns whether the document the link references is still valid, as the association may have changed with a text edit. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccessibleHyperlink()
| Method Detail |
|---|
public abstract boolean isValid()
public abstract int getAccessibleActionCount()
getAccessibleActionCount in interface AccessibleActionpublic abstract boolean doAccessibleAction(int i)
doAccessibleAction in interface AccessibleActioni - the action to perform, 0-based
getAccessibleActionCount()public abstract String getAccessibleActionDescription(int i)
getAccessibleActionDescription in interface AccessibleActioni - the link to retrieve, 0-based
getAccessibleActionCount()public abstract Object getAccessibleActionObject(int i)
i - the link to retrieve, 0-based
getAccessibleActionCount()public abstract Object getAccessibleActionAnchor(int i)
i - the link to retrieve, 0-based
getAccessibleActionCount()public abstract int getStartIndex()
public abstract int getEndIndex()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||