Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
protected class: JEditorPane.JEditorPaneAccessibleHypertextSupport [javadoc | source]
java.lang.Object
   AccessibleJTextComponent
      javax.swing.JEditorPane.AccessibleJEditorPane
         javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport

All Implemented Interfaces:
    AccessibleHypertext

What's returned by AccessibleJEditorPaneHTML.getAccessibleText. Provides support for AccessibleHypertext in case there is an HTML document being displayed in this JEditorPane.
Nested Class Summary:
public class  JEditorPaneAccessibleHypertextSupport.HTMLLink   
Field Summary
 LinkVector hyperlinks     
 boolean linksValid     
Constructor:
 public JEditorPaneAccessibleHypertextSupport() 
Method from javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport Summary:
getLink,   getLinkCount,   getLinkIndex,   getLinkText
Methods from javax.swing.JEditorPane$AccessibleJEditorPane:
getAccessibleDescription,   getAccessibleStateSet
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport Detail:
 public AccessibleHyperlink getLink(int linkIndex) 
    Returns the index into an array of hyperlinks that index. If there is no hyperlink at this index, it returns null.
 public int getLinkCount() 
    Returns the number of links within this hypertext doc.
 public int getLinkIndex(int charIndex) 
    Returns the index into an array of hyperlinks that is associated with this character index, or -1 if there is no hyperlink associated with this index.
 public String getLinkText(int linkIndex) 
    Returns the contiguous text within the document that is associated with this hyperlink.