public class AccessibleHyperlinkAdapter extends java.lang.Object implements AccessibleHyperlinkListener
AccessibleHyperlinkListener interface.
Classes that wish to deal with AccessibleHyperlink events can
extend this class and override only the methods that they are
interested in.
AccessibleHyperlinkListener,
AccessibleHyperlinkEvent| Constructor and Description |
|---|
AccessibleHyperlinkAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
getAnchor(AccessibleHyperlinkEvent e)
Returns the anchor for the link at the specified index.
|
void |
getAnchorTarget(AccessibleHyperlinkEvent e)
Returns the target of the link at the specified index.
|
void |
getEndIndex(AccessibleHyperlinkEvent e)
Returns the 0 based character offset at which the textual representation of the hyperlink ends.
|
void |
getStartIndex(AccessibleHyperlinkEvent e)
Returns the 0 based character offset at which the textual representation of the hyperlink starts.
|
public void getAnchor(AccessibleHyperlinkEvent e)
getAnchor in interface AccessibleHyperlinkListenere - an event object containing the following fields:public void getAnchorTarget(AccessibleHyperlinkEvent e)
getAnchorTarget in interface AccessibleHyperlinkListenere - an event object containing the following fields:public void getStartIndex(AccessibleHyperlinkEvent e)
The returned value is related to the AccessibleTextExtended interface of the object that owns this hyperlink.
getStartIndex in interface AccessibleHyperlinkListenere - an event object containing the following fields:public void getEndIndex(AccessibleHyperlinkEvent e)
The returned value is related to the AccessibleTextExtended interface of the object that owns this hyperlink. The character at the index is not part of the hypertext.
getEndIndex in interface AccessibleHyperlinkListenere - an event object containing the following fields:
Copyright (c) EclipseSource and others 2002, 2015.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0