|
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
javax.swing.JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink
public class JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink
Field Summary |
---|
Fields inherited from interface javax.accessibility.AccessibleAction |
---|
CLICK, DECREMENT, INCREMENT, TOGGLE_EXPAND, TOGGLE_POPUP |
Constructor Summary | |
---|---|
JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink(Element e)
|
Method Summary | |
---|---|
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. in an HTML imagemap). |
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). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink(Element e)
Method Detail |
---|
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 actions
getAccessibleActionCount()
public String getAccessibleActionDescription(int i)
getAccessibleActionDescription
in interface AccessibleAction
getAccessibleActionDescription
in class AccessibleHyperlink
i
- zero-based index of the actions
getAccessibleActionCount()
public Object getAccessibleActionObject(int i)
getAccessibleActionObject
in class AccessibleHyperlink
i
- zero-based index of the actions
getAccessibleActionCount()
public Object getAccessibleActionAnchor(int i)
getAccessibleActionAnchor
in class AccessibleHyperlink
i
- zero-based index of the actions
getAccessibleActionCount()
public int getStartIndex()
getStartIndex
in class AccessibleHyperlink
public int getEndIndex()
getEndIndex
in class AccessibleHyperlink
|
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.