|
Java™ Platform Standard Ed. 6 |
|||||||||
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
Encapsulation of a link, or set of links (e.g. client side imagemap) in a Hypertext document
Accessible
,
Accessible.getAccessibleContext()
,
AccessibleContext
,
AccessibleText
,
AccessibleContext.getAccessibleText()
Field Summary |
---|
Fields inherited from interface javax.accessibility.AccessibleAction |
---|
CLICK, DECREMENT, INCREMENT, TOGGLE_EXPAND, TOGGLE_POPUP |
Constructor Summary | |
---|---|
AccessibleHyperlink()
|
Method Summary | |
---|---|
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. in an HTML imagemap). |
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). |
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 AccessibleAction
public abstract boolean doAccessibleAction(int i)
doAccessibleAction
in interface AccessibleAction
i
- zero-based index of actions
getAccessibleActionCount()
public abstract String getAccessibleActionDescription(int i)
getAccessibleActionDescription
in interface AccessibleAction
i
- zero-based index of the actions
getAccessibleActionCount()
public abstract Object getAccessibleActionObject(int i)
i
- zero-based index of the actions
getAccessibleActionCount()
public abstract Object getAccessibleActionAnchor(int i)
i
- zero-based index of the actions
getAccessibleActionCount()
public abstract int getStartIndex()
public abstract int getEndIndex()
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.