|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.accservice.core.win32.ia2.IA2AccessibleElement
org.eclipse.actf.accservice.core.win32.ia2.IA2AccessibleAction
org.eclipse.actf.accservice.core.win32.ia2.IA2AccessibleHyperlink
public class IA2AccessibleHyperlink
This interface represents hyperlinks. This interface represents a hyperlink associated with a single substring of text or single non-text object. Non-text objects can have either a single link or a collection of links such as when the non-text object is an image map. Linked objects and anchors are implementation dependent. This interface reflects all methods found in IAccessibleAction. IAccessibleAction::nActions indicates the maximum value for the indices used with the methods of this interface. Furthermore, the object that implements this interface has to be connected implicitly or explicitly with an object that implements IAccessibleText. IAccessibleHyperlink::startIndex and IAccessibleHyperlink::endIndex are indices with respect to the text exposed by IAccessibleText.
IA2Accessible
Field Summary |
---|
Fields inherited from class org.eclipse.actf.accservice.core.win32.ia2.IA2AccessibleElement |
---|
errorCodeReturnMap, errString |
Constructor Summary | |
---|---|
IA2AccessibleHyperlink(int val,
IA2Accessible parent)
Constructor used to create an accessible image object |
Method Summary | |
---|---|
Object |
getAnchor(int index)
Returns an object that represents the link anchor, as appropriate for the link at the specified index. |
Object |
getAnchorTarget(int index)
Returns an object that represents the target of the link, as appropriate for the link at the specified index. |
int |
getEndIndex()
Returns the index at which the textual rerpesentation of the hyperlink ends. |
int |
getStartIndex()
Returns the index at which the textual rerpesentation of the hyperlink starts. |
protected Object |
internalGetAnchor(int index)
|
protected Object |
internalGetAnchorTarget(int index)
|
protected int |
internalGetEndIndex()
|
protected int |
internalGetStartIndex()
|
protected boolean |
internalIsValid()
|
boolean |
isValid()
Returns whether the target object referenced by this link is still valid. |
Methods inherited from class org.eclipse.actf.accservice.core.win32.ia2.IA2AccessibleAction |
---|
doAccessibleAction, getActionCount, getActionDescription, getActionKeyBinding, getActionName, getLocalizedAccessibleActionName, internalDoAccessibleAction, internalGetActionCount, internalGetActionDescription, internalGetActionKeyBinding, internalGetActionName, internalGetLocalizedAccessibleActionName, internalRef |
Methods inherited from class org.eclipse.actf.accservice.core.win32.ia2.IA2AccessibleElement |
---|
errorCodeMap, putErrorCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IA2AccessibleHyperlink(int val, IA2Accessible parent)
val
- parent
- IA2Accessible parent of this objectMethod Detail |
---|
public Object getAnchor(int index)
index
- - A 0 based index identifies the anchor when,
as in the case of an image map, there is more than one
link represented by this object. The valid maximal
index is indicated by IAccessibleAction::nActions.protected Object internalGetAnchor(int index)
public Object getAnchorTarget(int index)
index
- - A 0 based index identifies the anchor when,
as in the case of an image map, there is more than one
link represented by this object. The valid maximal
index is indicated by IAccessibleAction::nActions.protected Object internalGetAnchorTarget(int index)
public int getStartIndex()
protected int internalGetStartIndex()
public int getEndIndex()
protected int internalGetEndIndex()
public boolean isValid()
protected boolean internalIsValid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |