public class JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink extends AccessibleHyperlink
CLICK, DECREMENT, INCREMENT, TOGGLE_EXPAND, TOGGLE_POPUP
Modifier and Type | Method and Description |
---|---|
boolean |
doAccessibleAction(int i)
Perform the specified Action on the object
|
Object |
getAccessibleActionAnchor(int i)
Return an object that represents the link anchor,
as appropriate for that link.
|
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.
|
String |
getAccessibleActionDescription(int i)
Return a String description of this particular
link action.
|
Object |
getAccessibleActionObject(int i)
Returns a URL object that represents the link.
|
int |
getEndIndex()
Get the index with the hypertext document at which this
link ends
|
int |
getStartIndex()
Get the index with the hypertext document at which this
link begins
|
boolean |
isValid()
Since the document a link is associated with may have
changed, this method returns whether this Link is valid
anymore (with respect to the document it references).
|
public HTMLLink(Element e)
public boolean isValid()
isValid
in class AccessibleHyperlink
public int getAccessibleActionCount()
getAccessibleActionCount
in interface AccessibleAction
getAccessibleActionCount
in class AccessibleHyperlink
public boolean doAccessibleAction(int i)
doAccessibleAction
in interface AccessibleAction
doAccessibleAction
in class AccessibleHyperlink
i
- zero-based index of actionsgetAccessibleActionCount()
public String getAccessibleActionDescription(int i)
getAccessibleActionDescription
in interface AccessibleAction
getAccessibleActionDescription
in class AccessibleHyperlink
i
- zero-based index of the actionsgetAccessibleActionCount()
public Object getAccessibleActionObject(int i)
getAccessibleActionObject
in class AccessibleHyperlink
i
- zero-based index of the actionsgetAccessibleActionCount()
public Object getAccessibleActionAnchor(int i)
getAccessibleActionAnchor
in class AccessibleHyperlink
i
- zero-based index of the actionsgetAccessibleActionCount()
public int getStartIndex()
getStartIndex
in class AccessibleHyperlink
public int getEndIndex()
getEndIndex
in class AccessibleHyperlink
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, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.